The "sys_effect_init" Function
#
SyntaxArgument | Type | Description |
---|---|---|
index | integer | The index of the row containing the target entity |
effect | script | The effect script to be performed |
duration | real | Sets the duration of the entire effect, in seconds |
loop | boolean | Enables or disables endlessly looping the effect |
reverse | boolean | Enables or disables reversing the effect |
ease | integer/macro | Sets the effect easing override |
#
DescriptionInitializes a given scripted effect which can be performed with sys_effect_perform
.
As this script is run automatically by vngen_effect_start
, it is never necessary to run sys_effect_init
manually.
See Effects for a list of included effect scripts and how to make your own.