Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.63

Description

Description:Adds an engine-based system event handler. This type of event handler differs from addGlobalEventHandler and VBS Custom Event Handlers event handlers by being mission-independent. They are not reset when existing or restarting a mission, and execute outside of a mission (for example, in the main menu).

Syntax

Syntax:addSystemEventHandler [type, code]
Parameters:
Return Value:Number - Index of added event (to use with removeSystemEventHandler).

Examples

Examples:
_idx = addSystemEventHandler ["MouseButtonDblClick","hint 'Double-clicked'"]

Additional Information

See also: VBS System Event Handlers, removeSystemEventHandler, removeAllSystemEventHandlers, Category VBS Event Handlers
Multiplayer: 
Problems: 

Notes