fnc_aceExplosives.sqf

Summary
fnc_aceExplosives.sqf
Functions
OCAP_recorder_fnc_aceExplosivesAdds marker on the mine’s position to the recording timeline.

Functions

OCAP_recorder_fnc_aceExplosives

Description

Adds marker on the mine’s position to the recording timeline.  Then waits until the explosive is null (exploded) and indicates it with a 10-frame long red X before removing the marker.

Called by ace_explosives_place CBA listener.

Parameters

None

Returns

Nothing

Examples

call FUNC(aceExplosives);

Notes

Example of emitting event from ACE3 code:

[QGVAR(place), [_explosive, _dir, _pitch, _unit]] call CBA_fnc_globalEvent;

Public

No

Author

IndigoFox

EGVAR(
   listener,
   aceExplosives
) = ["ace_explosives_place", { call FUNC(aceExplosives); }] call CBA_fnc_addEventHandler
Event listener for ACE3 global event indicating a mine has been placed and armed.
Close