mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
97a0624375
* only process one unit every 0.1 seconds * exitWith to keep indentation low * use event to determine isIR and isTI * correctly remove units with turned on lights from their arrays * handle weaponAccessories command reporting nil
17 lines
304 B
Plaintext
17 lines
304 B
Plaintext
#include "script_component.hpp"
|
|
|
|
ADDON = false;
|
|
|
|
PREP_RECOMPILE_START;
|
|
#include "XEH_PREP.hpp"
|
|
PREP_RECOMPILE_END;
|
|
|
|
["visionMode", {
|
|
params ["", "_visionMode"];
|
|
|
|
GVAR(isIR) = _visionMode isEqualTo 1;
|
|
GVAR(isTI) = _visionMode isEqualTo 2;
|
|
}] call CBA_fnc_addPlayerEventHandler;
|
|
|
|
ADDON = true;
|