Difference between revisions of "Event"
(Created page with "== Definition == Events are internal game messages that fire whenever something is triggered. Whenever an action occurs the event is sent back to the script. If an event is...") |
(→Definition) |
||
Line 1: | Line 1: | ||
== Definition == | == Definition == | ||
− | Events are internal game messages that fire whenever something is triggered. Whenever an action occurs the event is sent back to the script. | + | Events are internal game messages that fire whenever something is triggered. Whenever an action occurs the event is sent back to the script. If an event is registered with the [[RegisterEventHandler]] function, that lua code will execute whenever that event is occured. Check the official documentation for all the different events and read the descriptions for information about when the event is fired. |
− | |||
− | |||
== Official Documentation == | == Official Documentation == |
Revision as of 17:16, 1 November 2016
Definition
Events are internal game messages that fire whenever something is triggered. Whenever an action occurs the event is sent back to the script. If an event is registered with the RegisterEventHandler function, that lua code will execute whenever that event is occured. Check the official documentation for all the different events and read the descriptions for information about when the event is fired.