unassignTeam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]OFP[ _]Elite *(\|.*)?\]\]" to "{{GameCategory|ofpe|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma1 |Game name=
| arma1 |Game name=
Line 9: Line 8:


|arg= local |Multiplayer Arguments=
|arg= local |Multiplayer Arguments=
____________________________________________________________________________________________


| Unassigns the unit (in the case of a vehicle its commander unit) from his team. This is equal to unit [[assignTeam]] "MAIN". |DESCRIPTION=
| Unassigns the unit (in the case of a vehicle its commander unit) from his team. This is equal to unit [[assignTeam]] "MAIN". |DESCRIPTION=
____________________________________________________________________________________________


| '''unassignTeam''' vehicleName|SYNTAX=
| '''unassignTeam''' vehicleName|SYNTAX=
Line 19: Line 16:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <pre>unassignTeam _soldier2</pre> |EXAMPLE1=
|x1= <pre>unassignTeam _soldier2</pre> |EXAMPLE1=
____________________________________________________________________________________________


| [[assignTeam]], [[dissolveTeam]] |SEEALSO=
| [[assignTeam]], [[dissolveTeam]] |SEEALSO=

Revision as of 04:20, 17 January 2021

Hover & click on the images for description

Description

Description:
Unassigns the unit (in the case of a vehicle its commander unit) from his team. This is equal to unit assignTeam "MAIN".
Groups:
Groups

Syntax

Syntax:
unassignTeam vehicleName
Parameters:
vehicleName: Object
Return Value:
Nothing

Examples

Example 1:
unassignTeam _soldier2

Additional Information

See also:
assignTeamdissolveTeam

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