Documentation

Editing Events

When you select an Event setting and open the advanced options panel at the bottom, you will get an editor panel like this:
Event editor

Enabled
Determines if this event handler is enabled or disabled.
Name
The name of the event
Script
This is the full script of the event handler. See the Scripting topic for more information.
Language
Select the scripting language used for this event. Built-in languages include: zScript, Lua, VBScript, and JavaScript. But any other scripting language installed into the Windows Scripting Host can also be used.
Script Text / XML / Compiled Code
Selecting the Compiled Code tab will show the low-level code generated by this event. This is for internal testing purposes and is not documented further. Selecting the XML tab will allow you to edit the raw XML data used for copy/paste and import/export.
Params
This allows you to specify Named Arguments for the event. It is simply a list of the argument names, separated by commas. The $ character in front of the argument name is optional.
Priority
Specifies the order in which the event handler fires when there is more than one event handler for the same event name.
Notes
Used to store comments with the event. You might use this to remind yourself what the event handler is used for.

Add comment

Login or register to post comments