ACE3/addons/laserpointer/XEH_preInit.sqf

17 lines
304 B
Plaintext
Raw Permalink Normal View History

2015-01-17 22:38:13 +00:00
#include "script_component.hpp"
2015-01-29 07:38:46 +00:00
ADDON = false;
PREP_RECOMPILE_START;
2016-02-22 14:20:36 +00:00
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
2015-01-29 07:38:46 +00:00
["visionMode", {
params ["", "_visionMode"];
GVAR(isIR) = _visionMode isEqualTo 1;
GVAR(isTI) = _visionMode isEqualTo 2;
}] call CBA_fnc_addPlayerEventHandler;
2015-01-29 07:38:46 +00:00
ADDON = true;