assignTeam: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Killzone Kid (talk | contribs) (command has global effect in arma 3 now, example removed) |
||
Line 7: | Line 7: | ||
|arg= global|= Arguments in MP | |arg= global|= Arguments in MP | ||
|eff= | |eff= global |= Effects in MP | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 14: | Line 14: | ||
* The unit getting assigned must be either player himself or a unit in player's group | * The unit getting assigned must be either player himself or a unit in player's group | ||
* Units in player's group as well as player himself can all have different teams assigned | * Units in player's group as well as player himself can all have different teams assigned | ||
* The colour of the assigned team for a unit is seen on the group management UI | * The colour of the assigned team for a unit is seen on the group management UI as well as squad radar | ||
The possible team values (colours) are: | The possible team values (colours) are: | ||
* "MAIN" - (white) | * "MAIN" - (white) | ||
Line 21: | Line 21: | ||
* "BLUE" - (blue) | * "BLUE" - (blue) | ||
* "YELLOW" - (yellow) | * "YELLOW" - (yellow) | ||
'''NOTE''': In older version of the game the effect of this command is local {{EffArg|cmd|eff|local}} | |||
|= Description | |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 35: | Line 36: | ||
|x1= <code>_soldier2 [[assignTeam]] "RED";</code> |= Example 1 | |x1= <code>_soldier2 [[assignTeam]] "RED";</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 22:34, 10 August 2016
Description
- Description:
- Assigns the unit (in case of a vehicle, its commander) to the given team. Team is an option in group control (unit management) menu that allows to split player group in teams and then give bulk order to separate teams. In order to operate properly, the command requires specific conditions:
- The command requires player to be fully initialised
- The unit getting assigned must be either player himself or a unit in player's group
- Units in player's group as well as player himself can all have different teams assigned
- The colour of the assigned team for a unit is seen on the group management UI as well as squad radar
- "MAIN" - (white)
- "RED" - (red)
- "GREEN" - (green)
- "BLUE" - (blue)
- "YELLOW" - (yellow)
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_soldier2 assignTeam "RED";
Additional Information
- See also:
- assignedTeamdissolveTeamunassignTeam
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
Bottom Section
- Posted on July 12, 2016 - 16:19 (UTC)
- Commy2
- Since Arma 3 v1.62 this command has global effects and is persistent even on machines that join in progress.
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Command Group: Unit Control
- Command Group: Vehicle Assignment
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters