ACE3/addons/frag/XEH_postInit.sqf
jaynus 58a55313cd Changed: Entire frag system re-optimized to a single tracking/GC index-based PFH.
Changed: Spalling calculations now throttled across frames and limited; accurate but performant
Changed: All lookups are now index-based on a global projectiles array. This reduced runtime dramatically for all fragmentation.
2015-05-13 17:06:10 -07:00

12 lines
325 B
Plaintext

#include "script_component.hpp"
if(GVAR(EnableDebugTrace) && !isMultiplayer) then {
GVAR(traceFrags) = true;
GVAR(autoTrace) = true;
};
if(isServer) then {
[QGVAR(frag_eh), { _this call FUNC(frago); }] call ace_common_fnc_addEventHandler;
};
[FUNC(masterPFH), 0, []] call CBA_fnc_addPerFrameHandler;