Repository navigation
EventScripts
Dylan Stone edited this page Sep 27, 2026
·
2 revisions
Events are sequences of commands that run. Examples include cutscenes, special dialogue, adding items, checking stats, etc.
| Fields | Description |
|---|---|
| Cmd | The function that will be executed this line. |
| target | The target of the current command. Can sometimes be used for other things. |
| pos X | The X co-ordinate used by the current command function. |
| pos Y | The Y co-ordinate used by the current command function. |
| pos Z | The Z co-ordinate used by the current command function. |
| dir | The direction used by the current command function. Not always a character facing. |
| text | Text pertaining to the current command function. Used mainly for dialogue events. Points to an entry in Talk\Database\TalkData_XX. |
| async | When unchecked, the engine will wait until the current command has finished executing before moving on to the next line. When unchecked, the next command will execute simultaneously to the current one. |
| opt (Array:adaptive) | Various options used by command functions. The number and type of options are command-dependent. |