2015-05-09 20:32:36 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
// Handle damage to local vehicles
|
|
|
|
[QGVAR(hp), FUNC(dispatchHitPart)] call EFUNC(common,addEventHandler);
|
|
|
|
|
2015-05-11 18:01:53 +00:00
|
|
|
// Extension dispatch commands
|
|
|
|
[QGVAR(setAnimationNames), FUNC(setAnimationNames)] call EFUNC(common,addEventHandler);
|
2015-05-20 16:46:23 +00:00
|
|
|
[QGVAR(doDamageResults), FUNC(doDamageResults)] call EFUNC(common,addEventHandler);
|
2015-05-16 19:19:59 +00:00
|
|
|
|
2015-05-11 18:01:53 +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
|