ACE3/addons/missileguidance/XEH_pre_init.sqf
2019-05-13 00:42:57 +02:00

18 lines
486 B
Plaintext

#include "script_component.hpp"
ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
// Formally a ace_setting, users can still disable by `setting ace_missileguidance_enabled = x;`
// [0 - Off , 1 - PlayerOnly, 2 - PlayerAndAi]
// As weapons take config changes, there is little point in being able to disable guidance
if (isNil QGVAR(enabled)) then { GVAR(enabled) = 2; };
GVAR(mclosMissile) = objNull;
GVAR(mclosInput) = [0, 0, 0, 0];
ADDON = true;