mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Dyna Icons
This commit is contained in:
parent
d2ae1ebb02
commit
666aef6640
@ -95,7 +95,7 @@ class base_mode_snap_direction
|
|||||||
{
|
{
|
||||||
condition = "EPOCH_buildMode == 1";
|
condition = "EPOCH_buildMode == 1";
|
||||||
action = "EPOCH_snapDirection = EPOCH_snapDirection + 1; if (EPOCH_snapDirection > 3) then {EPOCH_snapDirection = 0};[format['SNAP DIRECTION: %1°', EPOCH_snapDirection*90], 5] call Epoch_message;";
|
action = "EPOCH_snapDirection = EPOCH_snapDirection + 1; if (EPOCH_snapDirection > 3) then {EPOCH_snapDirection = 0};[format['SNAP DIRECTION: %1°', EPOCH_snapDirection*90], 5] call Epoch_message;";
|
||||||
icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_move.paa";
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_rotate.paa";
|
||||||
tooltip = "Build Mode: Rotate 90°";
|
tooltip = "Build Mode: Rotate 90°";
|
||||||
tooltipcode = "format ['Build Mode: Switch Snap Direction to %1° (current %2°)',if (EPOCH_snapDirection < 3) then {(EPOCH_snapDirection+1)*90} else {0},EPOCH_snapDirection*90]";
|
tooltipcode = "format ['Build Mode: Switch Snap Direction to %1° (current %2°)',if (EPOCH_snapDirection < 3) then {(EPOCH_snapDirection+1)*90} else {0},EPOCH_snapDirection*90]";
|
||||||
};
|
};
|
||||||
@ -103,14 +103,14 @@ class base_mode_detach
|
|||||||
{
|
{
|
||||||
condition = "EPOCH_buildMode > 0 && !isnull EPOCH_target && EPOCH_target_attachedTo isequalto player && Epoch_target iskindof 'Const_Ghost_EPOCH'";
|
condition = "EPOCH_buildMode > 0 && !isnull EPOCH_target && EPOCH_target_attachedTo isequalto player && Epoch_target iskindof 'Const_Ghost_EPOCH'";
|
||||||
action = "EPOCH_target_attachedTo = objnull; ['Object Detached', 5] call Epoch_message;";
|
action = "EPOCH_target_attachedTo = objnull; ['Object Detached', 5] call Epoch_message;";
|
||||||
icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_move.paa";
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_detach.paa";
|
||||||
tooltip = "Build Mode: Detach Object";
|
tooltip = "Build Mode: Detach Object";
|
||||||
};
|
};
|
||||||
class base_mode_attach
|
class base_mode_attach
|
||||||
{
|
{
|
||||||
condition = "EPOCH_buildMode > 0 && !isnull EPOCH_target && !(EPOCH_target_attachedTo isequalto player) && Epoch_target iskindof 'Const_Ghost_EPOCH'";
|
condition = "EPOCH_buildMode > 0 && !isnull EPOCH_target && !(EPOCH_target_attachedTo isequalto player) && Epoch_target iskindof 'Const_Ghost_EPOCH'";
|
||||||
action = "EPOCH_target_attachedTo = player; ['Object Attached', 5] call Epoch_message;";
|
action = "EPOCH_target_attachedTo = player; ['Object Attached', 5] call Epoch_message;";
|
||||||
icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_move.paa";
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_attach.paa";
|
||||||
tooltip = "Build Mode: Attach Object";
|
tooltip = "Build Mode: Attach Object";
|
||||||
};
|
};
|
||||||
class Drink
|
class Drink
|
||||||
|
@ -26,7 +26,7 @@ class build_remove
|
|||||||
{
|
{
|
||||||
condition = "dyna_buildMode select 1";
|
condition = "dyna_buildMode select 1";
|
||||||
action = "dyna_cursorTarget call EPOCH_removeBUILD;";
|
action = "dyna_cursorTarget call EPOCH_removeBUILD;";
|
||||||
icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_remove.paa";
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\build_trash.paa";
|
||||||
tooltipcode = "format['Remove %1',getText(configFile >> 'CfgVehicles' >> (typeof dyna_cursorTarget) >> 'displayName')]";
|
tooltipcode = "format['Remove %1',getText(configFile >> 'CfgVehicles' >> (typeof dyna_cursorTarget) >> 'displayName')]";
|
||||||
};
|
};
|
||||||
class build_move
|
class build_move
|
||||||
|
Loading…
Reference in New Issue
Block a user