assignTeam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:




 
<h2 style="color:#000066">'''''vehicle'' assignTeam ''team'''''</h2>
<h2 style="color:#000066">''''' assignTeam '''''</h2>




Line 24: Line 23:
'''Description:'''
'''Description:'''


Assigns the vehicle (specifically its commander unit) to the given team. The possible team values are: "MAIN", "RED", "GREEN", "BLUE" and "YELLOW".
Assigns the vehicle (specifically its commander unit) to the given team.
 
The possible team values are: "MAIN", "RED", "GREEN", "BLUE" and "YELLOW".
 


'''Example''':
'''Example''':
      
      
soldier2 '''assignTeam''' "RED"
soldier2 '''assignTeam''' "RED"

Revision as of 16:54, 6 July 2006


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"