Merge pull request #709 from Ignatz-HeMan/patch-2

Removed "Inspect" & "Build Mode" from DynaMenu in Vehicles
This commit is contained in:
vbawol 2017-03-17 14:06:31 -05:00 committed by GitHub
commit d42f07e0a0

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";