assignTeam: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
[[Category:Scripting Commands ArmA|ASSIGNTEAM]] | [[Category:Scripting Commands ArmA|ASSIGNTEAM]] | ||
Line 10: | Line 9: | ||
'''Operand types:''' | '''Operand types:''' | ||
'''vehicle''': [[Object]] | |||
'''team''': [[String]] | |||
'''Type of returned value:''' | '''Type of returned value:''' | ||
[[Nothing]] | |||
'''Compatibility:''' | '''Compatibility:''' | ||
Version 2.05 required. | |||
'''Description:''' | '''Description:''' | ||
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" |
Revision as of 15:39, 6 July 2006
assignTeam
Operand types:
vehicle: Object
team: String
Type of returned value:
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"