The "sys_trans_init" Function
#
SyntaxArgument | Type | Description |
---|---|---|
entity | integer | The data structure of the entity to transition |
index | integer | The index of the row containing the target entity |
trans | integer/macro | Sets the transition to perform on the target entity |
duration | real | Sets the duration of the entire transition, in seconds |
reverse | boolean | Enables or disables reversing the transition |
#
DescriptionWhen a new entity is created, before a transition can be applied, it must be initialized so that the entity begins with its transitioned properties rather than the properties to which it will be transitioned.
As this script is run automatically by any actions that require forward transitions, it is almost never necessary to run sys_trans_init
manually.
See Macros & Keywords for a list of available transitions.