assignTeam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(description locality)
Line 6: Line 6:
|1.00|= Game version
|1.00|= Game version


|arg= local |= Arguments in MP
|arg= global|= Arguments in MP
|eff= local |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


| Assigns the unit (in case of a vehicle, its commander) to the given team.
| 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 possible team values are: "MAIN", "RED", "GREEN", "BLUE" and "YELLOW". |= Description
* 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
The possible team values (colours) are:  
* "MAIN" - (white)
* "RED" - (red)
* "GREEN" - (green)
* "BLUE" - (blue)
* "YELLOW" - (yellow)
|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 16:19, 21 January 2016

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

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
The possible team values (colours) are:
  • "MAIN" - (white)
  • "RED" - (red)
  • "GREEN" - (green)
  • "BLUE" - (blue)
  • "YELLOW" - (yellow)
Groups:
Uncategorised

Syntax

Syntax:
vehicleName assignTeam team
Parameters:
vehicleName: Object
team: String
Return Value:
Nothing

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