ACE3/addons/missileguidance/XEH_pre_init.sqf

15 lines
421 B
Plaintext
Raw Normal View History

2016-05-30 16:37:03 +00:00
#include "script_component.hpp"
ADDON = false;
PREP_RECOMPILE_START;
2016-05-30 16:37:03 +00:00
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
2016-05-30 16:37:03 +00:00
// Formally a ace_setting, users can still disable by `setting ace_missileguidance_enabled = x;`
2017-11-15 21:19:07 +00:00
// [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; };
2016-05-30 16:37:03 +00:00
ADDON = true;