ACE3/addons/vehicledamage/XEH_postInit.sqf

20 lines
668 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
// Handle damage to local vehicles
[QGVAR(hp), FUNC(dispatchHitPart)] call EFUNC(common,addEventHandler);
// Extension dispatch commands
[QGVAR(setAnimationNames), FUNC(setAnimationNames)] call EFUNC(common,addEventHandler);
[QGVAR(doDamageResults), FUNC(doDamageResults)] call EFUNC(common,addEventHandler);
2015-05-16 19:19:59 +00:00
// Trigger and start fetching results
2015-05-11 05:05:25 +00:00
[FUNC(monitorResultsPFH), 0, []] call CBA_fnc_addPerFrameHandler;
2015-05-16 19:19:59 +00:00
#ifdef DEBUG_DRAW_LINES
// Debug functionality
[QGVAR(draw_face), FUNC(debug_drawFace)] call EFUNC(common,addEventHandler);
[FUNC(debug_drawLinesPFH), 0, []] call CBA_fnc_addPerFrameHandler;
#endif