assignTeam

From Bohemia Interactive Community
Revision as of 16:39, 6 July 2006 by Hoz (talk | contribs)
Jump to navigation Jump to search



assignTeam


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"