mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
enable vector on ffv positions, fix #506
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user