mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
5 lines
368 B
Plaintext
5 lines
368 B
Plaintext
|
//fnc_lamp.sqf
|
||
|
#include "\x\ace\addons\sys_arty_aimingpoints\script_component.hpp"
|
||
|
_currentState = GVAR(currentAimingCircle) getVariable [QGVAR(aimingCircleLampOn), false];
|
||
|
GVAR(currentAimingCircle) setVariable [QGVAR(aimingCircleLampOn), !_currentState, true];
|
||
|
[QGVAR(aimingCircleLightEvent), [GVAR(currentAimingCircle), !_currentState]] call CBA_fnc_globalEvent;
|