CBA_fnc_addMarkerEventHandler

Description

Adds an event handler that executes code when a marker is created or deleted.

Parameters

_eventTypeType of event to add.  Can be “created” or “deleted”.  STRING
_functionFunction to call when marker is created or deleted.  <CODE>

Returns

_eventIdUnique ID.  Used with ‘CBA_fnc_removeMarkerEventHandler’.

Examples

_id = ["created", {systemChat str _this}] call CBA_fnc_addMarkerEventHandler;

Author

commy2

string used by format
Close