Reword team actions on AI

This commit is contained in:
esteldunedain 2015-04-17 01:13:05 -03:00
parent c8ebed234f
commit 80f37b9ad9
2 changed files with 20 additions and 4 deletions

View File

@ -44,7 +44,7 @@ class CfgVehicles {
hotkey = "M";
class ACE_JoinTeamRed {
displayName = "$STR_ACE_Interaction_JoinTeamRed";
displayName = "$STR_ACE_Interaction_AssignTeamRed";
distance = 5;
condition = QUOTE(alive _target && {!isPlayer _target} && {_target in units group _player});
statement = QUOTE([ARR_2(_target,'RED')] call DFUNC(joinTeam));
@ -54,7 +54,7 @@ class CfgVehicles {
hotkey = "R";
};
class ACE_JoinTeamGreen {
displayName = "$STR_ACE_Interaction_JoinTeamGreen";
displayName = "$STR_ACE_Interaction_AssignTeamGreen";
distance = 5;
condition = QUOTE(alive _target && {!isPlayer _target} && {_target in units group _player});
statement = QUOTE([ARR_2(_target,'GREEN')] call DFUNC(joinTeam));
@ -64,7 +64,7 @@ class CfgVehicles {
hotkey = "G";
};
class ACE_JoinTeamBlue {
displayName = "$STR_ACE_Interaction_JoinTeamBlue";
displayName = "$STR_ACE_Interaction_AssignTeamBlue";
distance = 5;
condition = QUOTE(alive _target && {!isPlayer _target} && {_target in units group _player});
statement = QUOTE([ARR_2(_target,'BLUE')] call DFUNC(joinTeam));
@ -74,7 +74,7 @@ class CfgVehicles {
hotkey = "B";
};
class ACE_JoinTeamYellow {
displayName = "$STR_ACE_Interaction_JoinTeamYellow";
displayName = "$STR_ACE_Interaction_AssignTeamYellow";
distance = 5;
condition = QUOTE(alive _target && {!isPlayer _target} && {_target in units group _player});
statement = QUOTE([ARR_2(_target,'YELLOW')] call DFUNC(joinTeam));

View File

@ -549,6 +549,22 @@
<Italian>Giallo</Italian>
<Hungarian>Sárga</Hungarian>
</Key>
<Key ID="STR_ACE_Interaction_AssignTeamRed">
<English>Assign Red</English>
<Spanish>Asignar a rojo</Spanish>
</Key>
<Key ID="STR_ACE_Interaction_AssignTeamGreen">
<English>Assign Green</English>
<Spanish>Asignar a verde</Spanish>
</Key>
<Key ID="STR_ACE_Interaction_AssignTeamBlue">
<English>Assign Blue</English>
<Spanish>Asignar a azul</Spanish>
</Key>
<Key ID="STR_ACE_Interaction_AssignTeamYellow">
<English>Assign Yellow</English>
<Spanish>Asignar a amarillo</Spanish>
</Key>
<Key ID="STR_ACE_Interaction_JoinTeamRed">
<English>Join Red</English>
<Spanish>Unirse a rojo</Spanish>