EffectLib Line - TheComputerGeek2/MagicSpells GitHub Wiki
Source Code
class: Line
Description:
This effect extends a line from the source to the target.
Configuration:
Option |
Default |
type |
"repeating" |
particle |
"flame" |
period |
1 |
iterations |
1 |
Other:
Option |
Description |
Type |
Default |
isZigZag |
Defines if the line should be zig-zag. |
Boolean |
false |
zigZags |
Number of zig-zags in the line. |
Integer |
10 |
zigZagOffset |
Direction of zig-zags. Format: x,y,z . |
String |
"0,0.1,0" |
zigZagRelativeOffset |
Relative direction of zig-zags. Format: x,y,z . |
String |
"0,0,0" |
particles |
Particles per arc. |
Integer |
100 |
length |
Length of arc. A non-zero value here will use a length instead of the target endpoint. |
Double |
0 |
maxLength |
Max length of arc. A non-zero value here will use this as the upper bound for the computed length. |
Double |
0 |
subEffectAtEnd |
Sub-effect played at the end position of the current effect. Note that this effect uses subEffectAtEndClass instead of class . |
Configuration Section containing an Effectlib Effect |
|
subEffectAtEndClass |
Same as class . Used when defining a subEffectAtEnd . |
String |
|