ACE3/addons/rearm/XEH_preInit.sqf

21 lines
470 B
Plaintext
Raw Normal View History

2015-08-15 16:43:13 +00:00
#include "script_component.hpp"
ADDON = false;
PREP_RECOMPILE_START;
2016-02-22 14:20:36 +00:00
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
2015-08-15 16:43:13 +00:00
#include "initSettings.sqf"
DFUNC(rearm_statement) = { // moved from config because of build problems
TRACE_1("rearm_statement",_this);
{
if (_x isKindOf 'AllVehicles' && {!(_x isKindOf 'Man')}) then {
[objNull, _x] call FUNC(rearmEntireVehicleSuccess);
};
} forEach (curatorSelected select 0);
};
2015-08-15 16:43:13 +00:00
ADDON = true;