CBA_fnc_addBISPlayerEventHandler

Description

Adds an engine event handler just to the controlled entity.

Parameters

_keyUnique identifier for the event.  STRING
_eventTypeType of event to add.  Can be any event supported by addEventHandler.  STRING
_eventCodeCode to run when event is raised.  <CODE>
_ignoreVirtualIgnore virtual units (spectators, virtual zeus, UAV RC) [optional] (default: true) <BOOLEAN>

Returns

Event was added <BOOLEAN>

Examples

["TAG_MyFiredNearEvent", "FiredNear", {systemChat str _this}] call CBA_fnc_addBISPlayerEventHandler

Author

PabstMirror

string used by format
Close