2015-04-04 23:55:53 +00:00
|
|
|
// by commy2
|
|
|
|
|
2015-04-11 17:56:58 +00:00
|
|
|
["ACE3", QGVAR(lockTarget), localize "STR_ACE_JAVELIN_LockTarget",
|
2015-04-04 23:55:53 +00:00
|
|
|
{
|
|
|
|
if (GETGVAR(isLockKeyDown,false)) exitWith {false};
|
|
|
|
|
|
|
|
GVAR(isLockKeyDown) = true;
|
|
|
|
|
|
|
|
// Statement
|
|
|
|
[ACE_player] call FUNC(lockKeyDown);
|
|
|
|
// Return false so it doesn't block the rest weapon action
|
|
|
|
false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
// prevent holding down
|
|
|
|
GVAR(isLockKeyDown) = false;
|
|
|
|
|
|
|
|
// Statement
|
|
|
|
[ACE_player] call FUNC(lockKeyUp);
|
|
|
|
false
|
|
|
|
},
|
|
|
|
[15, [false, false, false]], false] call cba_fnc_addKeybind; //Tab Key
|
|
|
|
|
2015-04-11 17:56:58 +00:00
|
|
|
["ACE3", QGVAR(cycleFireMode), localize "STR_ACE_JAVELIN_CycleFireMode",
|
2015-04-04 23:55:53 +00:00
|
|
|
{ false },
|
|
|
|
{
|
|
|
|
[ACE_player] call FUNC(cycleFireMode);
|
|
|
|
false
|
|
|
|
},
|
2015-04-13 03:45:55 +00:00
|
|
|
[15, [false, true, false]], false] call cba_fnc_addKeybind; //Ctrl+Tab Key
|