enable vector on ffv positions, fix #506

This commit is contained in:
commy2
2015-04-12 12:03:49 +02:00
parent 78b64ea273
commit f16d5398f4

View File

@ -3,9 +3,9 @@
["ACE3", QGVAR(AzimuthKey), localize "STR_ACE_Vector_AzimuthKey", ["ACE3", QGVAR(AzimuthKey), localize "STR_ACE_Vector_AzimuthKey",
{ {
// Conditions: canInteract // Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false}; if !([ACE_player, objNull, ["isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
// Conditions: specific // Conditions: specific
if !(currentWeapon ACE_player == "ACE_Vector" && {ACE_player == cameraOn} && {cameraView == "GUNNER"}) exitWith {false}; if !(currentWeapon ACE_player == "ACE_Vector" && {cameraView == "GUNNER"}) exitWith {false};
// prevent holding down // prevent holding down
if (GETGVAR(isDownStateKey1,false)) exitWith {false}; if (GETGVAR(isDownStateKey1,false)) exitWith {false};
@ -20,7 +20,7 @@
GVAR(isDownStateKey1) = false; GVAR(isDownStateKey1) = false;
// Conditions: canInteract // Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false}; if !([ACE_player, objNull, ["isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
// Statement // Statement
["azimuth"] call FUNC(onKeyUp); ["azimuth"] call FUNC(onKeyUp);
@ -32,9 +32,9 @@
["ACE3", QGVAR(DistanceKey), localize "STR_ACE_Vector_DistanceKey", ["ACE3", QGVAR(DistanceKey), localize "STR_ACE_Vector_DistanceKey",
{ {
// Conditions: canInteract // Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false}; if !([ACE_player, objNull, ["isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
// Conditions: specific // Conditions: specific
if !(currentWeapon ACE_player == "ACE_Vector" && {ACE_player == cameraOn} && {cameraView == "GUNNER"}) exitWith {false}; if !(currentWeapon ACE_player == "ACE_Vector" && {cameraView == "GUNNER"}) exitWith {false};
// prevent holding down // prevent holding down
if (GETGVAR(isDownStateKey2,false)) exitWith {false}; if (GETGVAR(isDownStateKey2,false)) exitWith {false};
@ -49,7 +49,7 @@
GVAR(isDownStateKey2) = false; GVAR(isDownStateKey2) = false;
// Conditions: canInteract // Conditions: canInteract
if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false}; if !([ACE_player, objNull, ["isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
// Statement // Statement
["distance"] call FUNC(onKeyUp); ["distance"] call FUNC(onKeyUp);