ACE3/addons/cargo/XEH_preInit.sqf

23 lines
701 B
Plaintext
Raw Normal View History

2015-03-29 13:20:39 +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;
#include "initSettings.inc.sqf"
2015-08-10 21:07:47 +00:00
GVAR(initializedItemClasses) = [];
2016-01-19 03:53:48 +00:00
GVAR(initializedVehicleClasses) = [];
GVAR(cargoHolderTypes) = ["Car", "Air", "Tank", "Ship", "Cargo_base_F", "Land_PaperBox_closed_F"] apply {_x call EFUNC(common,getConfigName)}; // make sure they are config case
GVAR(disableParadropEffectsClasstypes) = ["Car_F"] apply {_x call EFUNC(common,getConfigName)};
2015-08-10 21:07:47 +00:00
if (isServer) then {
["All", "Deleted", LINKFUNC(handleDestroyed)] call CBA_fnc_addClassEventHandler;
};
["All", "Killed", LINKFUNC(handleDestroyed)] call CBA_fnc_addClassEventHandler;
2015-03-29 13:20:39 +00:00
ADDON = true;