All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 38s
32 lines
792 B
Plaintext
32 lines
792 B
Plaintext
#include "..\script_component.hpp"
|
|
|
|
|
|
if (!hasInterface) exitWith {};
|
|
|
|
call FUNC(addMicroDAGRWaypoints);
|
|
call FUNC(addZenModules);
|
|
call FUNC(bindEventHandlers);
|
|
call FUNC(bindVehicleActions);
|
|
|
|
// add core getNearMenPFH handler
|
|
localNamespace setVariable [QGVAR(nearMen), []];
|
|
call FUNC(addGetNearMenPFH);
|
|
// add core draw3dPFH handler
|
|
localNamespace setVariable [QGVAR(pfhCode), []];
|
|
call FUNC(addDraw3DPFH);
|
|
|
|
// add listener that tracks using the respawn button while unconscious
|
|
call FUNC(logRespawnButtonUse);
|
|
// add conditional eject-from-vehicle handler to apply temp invincibility when static line jumping
|
|
call FUNC(staticLineProtection);
|
|
|
|
[
|
|
LEVEL_DEBUG,
|
|
QUOTE(COMPONENT),
|
|
"initClient complete",
|
|
[]
|
|
] call EFUNC(common,log);
|
|
|
|
localNamespace setVariable [QGVAR(complete), true];
|
|
|
|
nil; |