unassignTeam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma1
|game1= ofpe
|version1= 1.00


|1.00
|game2= arma1
|version2= 1.00
 
|game3= arma2
|version3= 1.00
 
|game4= arma2oa
|version4= 1.50
 
|game5= tkoh
|version5= 1.00
 
|game6= arma3
|version6= 0.50


|gr1= Groups
|gr1= Groups
Line 9: Line 23:
|arg= local
|arg= local


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


| '''unassignTeam''' vehicleName
|s1= [[unassignTeam]] vehicleName


|p1= vehicleName: [[Object]]
|p1= vehicleName: [[Object]]
Line 17: Line 31:
|r1=[[Nothing]]
|r1=[[Nothing]]


|x1= <pre>unassignTeam _soldier2</pre>
|x1= <code>[[unassignTeam]] _soldier2</code>


|seealso= [[assignTeam]], [[dissolveTeam]]
|seealso= [[assignTeam]], [[dissolveTeam]]
}}
}}
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 18:17, 12 June 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