Template:Event functions: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
*[[addEvent]] - Add a new custom event type | *[[addEvent]] - Add a new custom event type | ||
*[[addEventHandler]] - Add a handler for an existing event, causing a function to get called when it is triggered | *[[addEventHandler]] - Add a handler for an existing event, causing a function to get called when it is triggered |
Revision as of 19:28, 22 September 2006
- addEvent - Add a new custom event type
- addEventHandler - Add a handler for an existing event, causing a function to get called when it is triggered
- cancelEvent - Cancel the game's default event handling
- removeEventHandler - Remove an existing event handler
- triggerEvent - Trigger an existing event type
- wasEventCanceled - Check if the last active event was canceled