assignTeam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reset version to 1.00)
m (stringtype)
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| vehicle '''assignTeam''' team |= Syntax
| [[Object#Vehicle|Vehicle]] '''assignTeam''' "team" |= Syntax


|p1= vehicle: [[Object]] |= Parameter 1
|p1= [[Object#Vehicle|Vehicle]]: [[Object]] |= Parameter 1


|p2= team: [[String]] |= Parameter 2
|p2= team: [[String]] |= Parameter 2
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>soldier2 assignTeam "RED"</pre> |= Example 1
|x1= <pre>_soldier2 assignTeam "RED"</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 06:57, 27 August 2007

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Assigns the unit or, in case of a vehicle, its commander unit to the given team. The possible team values are: "MAIN", "RED", "GREEN", "BLUE" and "YELLOW".
Groups:
Uncategorised

Syntax

Syntax:
Vehicle assignTeam "team"
Parameters:
Vehicle: Object
team: String
Return Value:
Nothing

Examples

Example 1:
_soldier2 assignTeam "RED"

Additional Information

See also:
See also needed

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