mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
base_mode_enable with target only at home
This commit is contained in:
parent
48efb98237
commit
14fdd80060
@ -16,7 +16,7 @@
|
|||||||
//Build mode enabled
|
//Build mode enabled
|
||||||
class base_mode_enable
|
class base_mode_enable
|
||||||
{
|
{
|
||||||
condition = "EPOCH_buildMode in [0,2] && !dyna_inVehicle";
|
condition = "EPOCH_buildMode in [0,2] && !dyna_inVehicle && dyna_AtHome";
|
||||||
action = "if (EPOCH_playerEnergy > 0) then {EPOCH_stabilityTarget = objNull;EPOCH_buildMode = 1;['Build Mode: Enabled Snap alignment', 5] call Epoch_message;EPOCH_buildDirection = 0} else {['Need Energy!', 5] call Epoch_message};";
|
action = "if (EPOCH_playerEnergy > 0) then {EPOCH_stabilityTarget = objNull;EPOCH_buildMode = 1;['Build Mode: Enabled Snap alignment', 5] call Epoch_message;EPOCH_buildDirection = 0} else {['Need Energy!', 5] call Epoch_message};";
|
||||||
icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_maintain.paa";
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_maintain.paa";
|
||||||
tooltip = "Build Mode: Snap alignment";
|
tooltip = "Build Mode: Snap alignment";
|
||||||
|
Loading…
Reference in New Issue
Block a user