unassignTeam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(47 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|UNASSIGNTEAM]]
{{RV|type=command
[[Category:Scripting Commands OFP Elite |UNASSIGNTEAM]]
[[Category:Scripting Commands ArmA|UNASSIGNTEAM]]


|game1= ofpe
|version1= 1.00


<h2 style="color:#000066">''' unassignTeam ''vehicle'''''</h2>
|game2= arma1
|version2= 1.00


|game3= arma2
|version3= 1.00


'''Operand types:'''
|game4= arma2oa
|version4= 1.50


'''vehicle:''' [[Object]]
|game5= tkoh
|version5= 1.00


'''Type of returned value:'''
|game6= arma3
|version6= 0.50


[[Nothing]]
|gr1= Groups


'''Compatibility:'''
|arg= local


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


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


Unassigns the vehicle (its commander unit) from his team.
|p1= vehicleName: [[Object]]


This is equal to vehicle assignTeam "MAIN".
|r1= [[Nothing]]


|x1= <sqf>unassignTeam _soldier2;</sqf>


'''Example:'''
|seealso= [[assignTeam]] [[dissolveTeam]]
 
}}
'''unassignTeam''' soldier2

Latest revision as of 13:17, 5 May 2022

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:
assignTeam dissolveTeam

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