ACE3/addons/interaction/ACE_ZeusActions.hpp

271 lines
15 KiB
C++
Raw Permalink Normal View History

2015-09-28 12:35:05 +00:00
class ACE_ZeusActions {
class ZeusUnits {
2015-06-05 17:37:29 +00:00
displayName = "$STR_A3_RscDisplayCurator_ModeUnits_tooltip";
icon = "\A3\UI_F_Curator\Data\Displays\RscDisplayCurator\modeUnits_ca.paa";
condition = QUOTE([] isNotEqualTo (curatorSelected select 0));
2015-06-05 17:37:29 +00:00
class stance {
displayName = "$STR_A3_RscAttributeUnitPos_Title";
condition = QUOTE(ZEUS_ACTION_CONDITION && {-1 < (curatorSelected select 0) findIf {_x isKindOf 'CAManBase'}});
2015-06-05 17:37:29 +00:00
2015-07-03 13:21:21 +00:00
class prone {
displayName = "$STR_Pos_Down";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F\Data\IGUI\RscIngameUI\RscUnitInfo\SI_prone_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusStance),[ARR_2('DOWN',curatorSelected select 0)],curatorSelected select 0)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
2015-07-03 13:21:21 +00:00
class crouch {
displayName = "$STR_Pos_Crouch";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F\Data\IGUI\RscIngameUI\RscUnitInfo\SI_crouch_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusStance),[ARR_2('MIDDLE',curatorSelected select 0)],curatorSelected select 0)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
2015-07-03 13:21:21 +00:00
class stand {
displayName = "$STR_Pos_Up";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F\Data\IGUI\RscIngameUI\RscUnitInfo\SI_stand_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusStance),[ARR_2('UP',curatorSelected select 0)],curatorSelected select 0)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
class auto {
2015-07-03 13:21:21 +00:00
displayName = "$STR_Pos_Automatic";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F_Curator\Data\default_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusStance),[ARR_2('AUTO',curatorSelected select 0)],curatorSelected select 0)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
};
2015-09-28 12:35:05 +00:00
class remoteControl {
displayName = "$STR_A3_CfgVehicles_ModuleRemoteControl_F";
icon = "\A3\Modules_F_Curator\Data\portraitRemoteControl_ca.paa";
2018-12-15 21:29:18 +00:00
condition = QUOTE(ZEUS_ACTION_CONDITION && {-1 < (curatorSelected select 0) findIf {!isNull effectiveCommander _x}});
statement = QUOTE(call FUNC(doRemoteControl));
};
class GVAR(repair) {
displayName = "$STR_repair";
icon = "\A3\ui_f\data\igui\cfg\actions\repair_ca.paa";
condition = QUOTE(ZEUS_ACTION_CONDITION && {-1 < (curatorSelected select 0) findIf {_x isKindOf 'AllVehicles' && {!(_x isKindOf 'Man')}}});
statement = QUOTE(call FUNC(repair_Statement));
};
};
2015-09-28 12:35:05 +00:00
class ZeusGroups {
2015-06-05 17:37:29 +00:00
displayName = "$STR_A3_RscDisplayCurator_ModeGroups_tooltip";
icon = "\A3\UI_F_Curator\Data\Displays\RscDisplayCurator\modeGroups_ca.paa";
condition = QUOTE([] isNotEqualTo (curatorSelected select 1));
class behaviour {
2015-07-03 13:21:21 +00:00
displayName = "$STR_Combat_Mode";
condition = QUOTE(ZEUS_ACTION_CONDITION);
2015-06-05 17:37:29 +00:00
class careless {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Combat_Careless";
statement = QUOTE([ARR_3(QQGVAR(zeusBehaviour),[ARR_2('CARELESS',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
class safe {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Combat_Safe";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F_Curator\Data\RscCommon\RscAttributeBehaviour\safe_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusBehaviour),[ARR_2('SAFE',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
class aware {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Combat_Aware";
icon = "\A3\UI_F_Curator\Data\RscCommon\RscAttributeBehaviour\aware_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusBehaviour),[ARR_2('AWARE',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
};
class combat {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Combat_Combat";
icon = "\A3\UI_F_Curator\Data\RscCommon\RscAttributeBehaviour\combat_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusBehaviour),[ARR_2('COMBAT',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
};
class stealth {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Combat_Stealth";
icon = "\A3\UI_F_Curator\Data\RscCommon\RscAttributeBehaviour\stealth_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusBehaviour),[ARR_2('STEALTH',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
};
};
2015-09-28 12:35:05 +00:00
2015-06-05 17:37:29 +00:00
class speed {
2015-07-03 13:21:21 +00:00
displayName = "$STR_HC_Menu_Speed";
condition = QUOTE(ZEUS_ACTION_CONDITION);
2015-06-05 17:37:29 +00:00
class limited {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Speed_Limited";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F_Curator\Data\RscCommon\RscAttributeSpeedMode\limited_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusSpeed),[ARR_2('LIMITED',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
class normal {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Speed_Normal";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F_Curator\Data\RscCommon\RscAttributeSpeedMode\normal_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusSpeed),[ARR_2('NORMAL',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
class full {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Speed_Full";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F_Curator\Data\RscCommon\RscAttributeSpeedMode\full_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusSpeed),[ARR_2('FULL',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
};
2015-09-28 12:35:05 +00:00
2015-06-05 17:37:29 +00:00
class formation {
2015-07-03 13:21:21 +00:00
displayName = "$STR_Formation";
condition = QUOTE(ZEUS_ACTION_CONDITION);
2015-06-05 17:37:29 +00:00
class wedge {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Wedge";
2015-06-05 17:37:29 +00:00
icon="\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\wedge_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusFormation),[ARR_2('WEDGE',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
class vee {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Vee";
2015-06-05 17:37:29 +00:00
icon="\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\vee_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusFormation),[ARR_2('VEE',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
class line {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Line";
2015-06-05 17:37:29 +00:00
icon="\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\line_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusFormation),[ARR_2('LINE',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
class column {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Column";
2015-06-05 17:37:29 +00:00
icon="\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\column_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusFormation),[ARR_2('COLUMN',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
class file {
2015-07-03 12:11:55 +00:00
displayName = "$STR_File";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\file_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusFormation),[ARR_2('FILE',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
class stag_column {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Staggered";
2015-06-05 17:37:29 +00:00
icon="\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\stag_column_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusFormation),[ARR_2('STAG COLUMN',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
class ech_left {
2015-07-03 12:11:55 +00:00
displayName = "$STR_EchL";
2015-06-05 17:37:29 +00:00
icon="\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\ech_left_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusFormation),[ARR_2('ECH LEFT',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
class ech_right {
2015-07-03 12:11:55 +00:00
displayName = "$STR_EchR";
2015-06-05 17:37:29 +00:00
icon="\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\ech_right_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusFormation),[ARR_2('ECH RIGHT',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
class diamond {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Diamond";
2015-06-05 17:37:29 +00:00
icon="\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\diamond_ca.paa";
statement = QUOTE([ARR_3(QQGVAR(zeusFormation),[ARR_2('DIAMOND',curatorSelected select 1)],curatorSelected select 1)] call CBA_fnc_targetEvent;);
2015-06-05 17:37:29 +00:00
};
};
};
2015-09-28 12:35:05 +00:00
class ZeusWaypoints {
displayName = "Waypoints";
2015-07-17 11:58:09 +00:00
icon = "\A3\UI_F_Curator\Data\Displays\RscDisplayCurator\modeRecent_ca.paa";
condition = QUOTE([] isNotEqualTo (curatorSelected select 2));
2015-06-05 17:37:29 +00:00
class behaviour {
2015-07-03 13:21:21 +00:00
displayName = "$STR_Combat_Mode";
condition = QUOTE(ZEUS_ACTION_CONDITION);
2015-06-05 17:37:29 +00:00
class careless {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Combat_Careless";
statement = QUOTE([ARR_2(QQGVAR(zeusBehaviour),[ARR_3('CARELESS',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
class safe {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Combat_Safe";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F_Curator\Data\RscCommon\RscAttributeBehaviour\safe_ca.paa";
statement = QUOTE([ARR_2(QQGVAR(zeusBehaviour),[ARR_3('SAFE',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
class aware {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Combat_Aware";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F_Curator\Data\RscCommon\RscAttributeBehaviour\aware_ca.paa";
statement = QUOTE([ARR_2(QQGVAR(zeusBehaviour),[ARR_3('AWARE',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
class combat {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Combat_Combat";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F_Curator\Data\RscCommon\RscAttributeBehaviour\combat_ca.paa";
statement = QUOTE([ARR_2(QQGVAR(zeusBehaviour),[ARR_3('COMBAT',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
class stealth {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Combat_Stealth";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F_Curator\Data\RscCommon\RscAttributeBehaviour\stealth_ca.paa";
statement = QUOTE([ARR_2(QQGVAR(zeusBehaviour),[ARR_3('STEALTH',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
};
2015-09-28 12:35:05 +00:00
2015-06-05 17:37:29 +00:00
class speed {
2015-07-03 13:21:21 +00:00
displayName = "$STR_HC_Menu_Speed";
condition = QUOTE(ZEUS_ACTION_CONDITION);
2015-06-05 17:37:29 +00:00
class limited {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Speed_Limited";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F_Curator\Data\RscCommon\RscAttributeSpeedMode\limited_ca.paa";
statement = QUOTE([ARR_2(QQGVAR(zeusSpeed),[ARR_3('LIMITED',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
class normal {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Speed_Normal";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F_Curator\Data\RscCommon\RscAttributeSpeedMode\normal_ca.paa";
statement = QUOTE([ARR_2(QQGVAR(zeusSpeed),[ARR_3('NORMAL',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
class full {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Speed_Full";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F_Curator\Data\RscCommon\RscAttributeSpeedMode\full_ca.paa";
statement = QUOTE([ARR_2(QQGVAR(zeusSpeed),[ARR_3('FULL',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
};
2015-09-28 12:35:05 +00:00
2015-06-05 17:37:29 +00:00
class formation {
2015-07-03 13:21:21 +00:00
displayName = "$STR_Formation";
condition = QUOTE(ZEUS_ACTION_CONDITION);
2015-06-05 17:37:29 +00:00
class wedge {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Wedge";
2015-06-05 17:37:29 +00:00
icon="\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\wedge_ca.paa";
statement = QUOTE([ARR_2(QQGVAR(zeusFormation),[ARR_3('WEDGE',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
class vee {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Vee";
2015-06-05 17:37:29 +00:00
icon="\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\vee_ca.paa";
statement = QUOTE([ARR_2(QQGVAR(zeusFormation),[ARR_3('VEE',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
class line {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Line";
2015-06-05 17:37:29 +00:00
icon="\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\line_ca.paa";
statement = QUOTE([ARR_2(QQGVAR(zeusFormation),[ARR_3('LINE',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
class column {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Column";
2015-06-05 17:37:29 +00:00
icon="\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\column_ca.paa";
statement = QUOTE([ARR_2(QQGVAR(zeusFormation),[ARR_3('COLUMN',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
class file {
2015-07-03 12:11:55 +00:00
displayName = "$STR_File";
2015-06-05 17:37:29 +00:00
icon = "\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\file_ca.paa";
statement = QUOTE([ARR_2(QQGVAR(zeusFormation),[ARR_3('FILE',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
class stag_column {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Staggered";
2015-06-05 17:37:29 +00:00
icon="\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\stag_column_ca.paa";
statement = QUOTE([ARR_2(QQGVAR(zeusFormation),[ARR_3('COLUMN',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
class ech_left {
2015-07-03 12:11:55 +00:00
displayName = "$STR_EchL";
2015-06-05 17:37:29 +00:00
icon="\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\ech_left_ca.paa";
statement = QUOTE([ARR_2(QQGVAR(zeusFormation),[ARR_3('LEFT',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
class ech_right {
2015-07-03 12:11:55 +00:00
displayName = "$STR_EchR";
2015-06-05 17:37:29 +00:00
icon="\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\ech_right_ca.paa";
statement = QUOTE([ARR_2(QQGVAR(zeusFormation),[ARR_3('RIGHT',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
class diamond {
2015-07-03 12:11:55 +00:00
displayName = "$STR_Diamond";
2015-06-05 17:37:29 +00:00
icon="\A3\UI_F_Curator\Data\RscCommon\RscAttributeFormation\diamond_ca.paa";
statement = QUOTE([ARR_2(QQGVAR(zeusFormation),[ARR_3('DIAMOND',curatorSelected select 2,true)])] call CBA_fnc_serverEvent;);
2015-06-05 17:37:29 +00:00
};
};
};
2015-09-28 12:35:05 +00:00
class ZeusMarkers {
2015-06-05 17:37:29 +00:00
displayName = "$STR_A3_RscDisplayCurator_ModeMarkers_tooltip";
icon = "\A3\UI_F_Curator\Data\Displays\RscDisplayCurator\modeMarkers_ca.paa";
condition = QUOTE([] isNotEqualTo (curatorSelected select 3));
};
};