ACE3/addons/frag/XEH_postInit.sqf

26 lines
701 B
Plaintext
Raw Normal View History

2024-01-11 21:44:01 +00:00
#include "script_component.hpp"
2016-05-30 16:37:03 +00:00
[
"CBA_settingsInitialized",
{
if (isServer) then {
[] call FUNC(initBlackList);
2024-01-11 00:51:38 +00:00
[] call FUNC(initMaterialCache);
};
2024-01-10 05:17:08 +00:00
#ifdef DEBUG_MODE_DRAW
if (hasInterface) then {
2024-01-11 00:51:38 +00:00
private _h = [LINKFUNC(dev_drawTrace), 0] call CBA_fnc_addPerFrameHandler;
missionNamespace setVariable [QGVAR(dev_drawPFEH), _h];
["unit", LINKFUNC(dev_switchUnitHandle), true] call CBA_fnc_addPlayerEventHandler;
[objNull, ace_player] call FUNC(dev_switchUnitHandle);
};
#endif
}
] call CBA_fnc_addEventHandler;
2016-05-30 16:37:03 +00:00
#ifdef LOG_FRAG_INFO
[true, true, 30] call FUNC(dev_debugAmmo);
#endif