From 15f7b0492cbc5d795390f14d1566a630e836b718 Mon Sep 17 00:00:00 2001 From: He-Man Date: Fri, 17 Mar 2017 19:25:01 +0100 Subject: [PATCH] Removed "Inspect" & "Build Mode" from DynaMenu Both functions are useless inside Vehicles. --- .../epoch_config/Configs/CfgActionMenu/CfgActionMenu_self.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/epoch_config/Configs/CfgActionMenu/CfgActionMenu_self.hpp b/Sources/epoch_config/Configs/CfgActionMenu/CfgActionMenu_self.hpp index 82520e5e..ef607911 100644 --- a/Sources/epoch_config/Configs/CfgActionMenu/CfgActionMenu_self.hpp +++ b/Sources/epoch_config/Configs/CfgActionMenu/CfgActionMenu_self.hpp @@ -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";