ACE3/addons/wep_javelin/functions/fnc_onOpticLoad.sqf

22 lines
606 B
Plaintext
Raw Normal View History

//#define DEBUG_MODE_FULL
2015-04-04 23:55:53 +00:00
#include "script_component.hpp"
TRACE_1("enter", _this);
if((count _this) > 0) then {
uiNameSpace setVariable ['ACE_RscOptics_javelin',_this select 0];
};
ACE_player setVariable ["ace_missileguidance_target",nil, false];
__JavelinIGUISeek ctrlSetTextColor __ColorGray;
__JavelinIGUINFOV ctrlSetTextColor __ColorGray;
2015-04-04 23:55:53 +00:00
uiNameSpace setVariable [QGVAR(arguments),
[
0, // Last runtime
objNull, // currentTargetObject
0, // Run Time
0, // Lock Time
0 // Sound timer
2015-04-04 23:55:53 +00:00
]
];