Template:Event functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
''Event Functions''
''Event Functions''
*[[addEvent]]
*[[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]]
*[[cancelEvent]] - Cancel the game's default event handling
 
*[[removeEventHandler]] - Remove an existing event handler
*[[triggerEvent]]
*[[triggerEvent]] - Trigger an existing event type
 
*[[wasEventCanceled]] - Check if the last active event was canceled
*[[cancelEvent]]
 
*[[wasEventCanceled]]

Revision as of 23:06, 11 September 2006

Event Functions