2015-12-22 07:53:57 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
[QGVAR(deployRopes), {
|
|
|
|
_this call FUNC(deployRopes);
|
2016-05-22 15:29:05 +00:00
|
|
|
}] call CBA_fnc_addEventHandler;
|
2015-12-22 07:53:57 +00:00
|
|
|
|
|
|
|
[QGVAR(startFastRope), {
|
|
|
|
[FUNC(fastRopeServerPFH), 0, _this] call CBA_fnc_addPerFrameHandler;
|
2016-05-22 15:29:05 +00:00
|
|
|
}] call CBA_fnc_addEventHandler;
|
2016-07-05 08:26:50 +00:00
|
|
|
|
|
|
|
["ACE3 Vehicles", QGVAR(cutRopes), localize LSTRING(Interaction_cutRopes), {
|
|
|
|
if ([vehicle ACE_player] call FUNC(canCutRopes)) then {
|
|
|
|
[vehicle ACE_player] call FUNC(cutRopes);
|
|
|
|
true
|
|
|
|
} else {
|
|
|
|
false
|
|
|
|
};
|
|
|
|
}, {false}] call CBA_fnc_addKeybind;
|