mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
20 lines
668 B
Plaintext
20 lines
668 B
Plaintext
#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);
|
|
|
|
// Trigger and start fetching results
|
|
[FUNC(monitorResultsPFH), 0, []] call CBA_fnc_addPerFrameHandler;
|
|
|
|
|
|
|
|
#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 |