2015-01-18 05:45:28 +00:00
|
|
|
//by commy2
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-04-13 03:44:19 +00:00
|
|
|
if (!hasInterface) exitWith {};
|
|
|
|
|
2016-06-21 23:39:20 +00:00
|
|
|
["unit", FUNC(handleVirtualMass)] call CBA_fnc_addPlayerEventHandler;
|
|
|
|
["loadout", FUNC(handleVirtualMass)] call CBA_fnc_addPlayerEventHandler;
|
2016-05-03 16:12:47 +00:00
|
|
|
|
2016-05-31 18:00:45 +00:00
|
|
|
["ACE3 Movement", QGVAR(climb), localize LSTRING(Climb), {
|
2015-03-05 07:32:26 +00:00
|
|
|
// Conditions: canInteract
|
2015-03-20 22:55:39 +00:00
|
|
|
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
|
2015-03-05 07:32:26 +00:00
|
|
|
// Conditions: specific
|
|
|
|
if (ACE_player != (vehicle ACE_player)) exitWith {false};
|
|
|
|
|
|
|
|
// Statement
|
|
|
|
[ACE_player] call FUNC(climb);
|
|
|
|
true
|
|
|
|
},
|
2015-03-05 08:51:24 +00:00
|
|
|
{false},
|
2015-11-30 15:45:20 +00:00
|
|
|
[47, [false, true, false]], false] call CBA_fnc_addKeybind; //DIK_V + CTRL//STRG
|