CBA_fnc_addLocalEventHandler

Description

Registers an event handler for a specific CBA event which only runs where the first parameter (object) is local.

Parameters

_eventTypeType of event to handle [String].
_handlerFunction to call when event is raised [Code].

Returns

Index of the event handler (can be used with CBA_fnc_removeEventHandler).

Author

Xeno

Removes an event handler previously registered with CBA_fnc_addEventHandler.
Close