assignTeam
Jump to navigation
Jump to search
Description
- Description:
- Assigns the unit (in case of a vehicle, its commander) to the given team. The possible team values are: "MAIN", "RED", "GREEN", "BLUE" and "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
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Command Group: Unit Control
- Command Group: Vehicle Assignment
- Scripting Commands ArmA2
- Scripting Commands Take On Helicopters