Removed "Inspect" & "Build Mode" from DynaMenu

Both functions are useless inside Vehicles.
This commit is contained in:
He-Man 2017-03-17 19:25:01 +01:00 committed by GitHub
parent 9d69c8ada7
commit 15f7b0492c

View File

@ -29,7 +29,7 @@ class veh_unLock
};
class player_inspect
{
condition = "true";
condition = "!dyna_inVehicle";
action = "call EPOCH_lootTrash;";
icon = "x\addons\a3_epoch_code\Data\UI\buttons\player_inspect.paa";
tooltip = "Examine";
@ -51,7 +51,7 @@ class player_group_requests
class base_mode_enable
{
condition = "EPOCH_buildMode in [0,2] && EPOCH_playerEnergy > 0";
condition = "EPOCH_buildMode in [0,2] && EPOCH_playerEnergy > 0 && !dyna_inVehicle";
action = "EPOCH_stabilityTarget = objNull;EPOCH_buildMode = 1;['Build Mode: Enabled Snap alignment', 5] call Epoch_message;EPOCH_buildDirection = 0;";
icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_maintain.paa";
tooltip = "Build Mode: Snap alignment";