assignTeam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 41: Line 41:
[[Category:Scripting Commands OFP Elite |ASSIGNTEAM]]
[[Category:Scripting Commands OFP Elite |ASSIGNTEAM]]
[[Category:Scripting Commands ArmA|ASSIGNTEAM]]
[[Category:Scripting Commands ArmA|ASSIGNTEAM]]
[[Category:Command_Group:_Unit_Control]]
[[Category:Command_Group:_Vehicle_Assignment]]

Revision as of 21:55, 9 August 2006

-wrong parameter ("Arma") defined!-2.05
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