assignTeam

From Bohemia Interactive Community
Revision as of 15:54, 6 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


vehicle assignTeam team


Operand types:

vehicle: Object

team: String

Type of returned value:

Nothing

Compatibility:

Version 2.05 required.

Description:

Assigns the vehicle (specifically its commander unit) to the given team.

The possible team values are: "MAIN", "RED", "GREEN", "BLUE" and "YELLOW".


Example:

soldier2 assignTeam "RED"