Template:Event functions: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
*[[removeEventHandler]] - Remove an existing event handler | *[[removeEventHandler]] - Remove an existing event handler | ||
*[[triggerEvent]] - Trigger an existing event type | *[[triggerEvent]] - Trigger an existing event type | ||
*[[triggerClientEvent]] - Triggers an event in a client-side script | |||
*[[wasEventCanceled]] - Check if the last active event was canceled | *[[wasEventCanceled]] - Check if the last active event was canceled |
Revision as of 02:17, 21 December 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
- triggerClientEvent - Triggers an event in a client-side script
- wasEventCanceled - Check if the last active event was canceled