ACE3/addons/fastroping/XEH_postInit.sqf
BaerMitUmlaut c1ea6fd327 Fixed locality issues, moved rope creation and simulation to server
Fix rope cut while fastroping

Locality fix pt2 - serverside ropes
2016-02-22 00:31:28 +01:00

15 lines
392 B
Plaintext

#include "script_component.hpp"
[QGVAR(deployRopes), {
_this call FUNC(deployRopes);
}] call EFUNC(common,addEventHandler);
[QGVAR(startFastRope), {
[FUNC(fastRopeServerPFH), 0, _this] call CBA_fnc_addPerFrameHandler;
}] call EFUNC(common,addEventHandler);
[QGVAR(ropeDetach), {
params ["_object", "_rope"];
_object ropeDetach _rope;
}] call EFUNC(common,addEventHandler);