unassignTeam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game name=" to "|Game name= |gr1= Groups |GROUP1= ")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma |Game name=
|game1= ofpe
|version1= 1.00


|gr1= Groups |GROUP1=
|game2= arma1
|version2= 1.00


|game3= arma2
|version3= 1.00


|game4= arma2oa
|version4= 1.50


|1.00|Game version=
|game5= tkoh
|version5= 1.00


|arg= local |Multiplayer Arguments=
|game6= arma3
____________________________________________________________________________________________
|version6= 0.50


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


| '''unassignTeam''' vehicleName|SYNTAX=
|arg= local


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


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


| [[assignTeam]], [[dissolveTeam]] |SEEALSO=
|p1= vehicleName: [[Object]]


}}
|r1= [[Nothing]]


<h3 style="display:none">Notes</h3>
|x1= <sqf>unassignTeam _soldier2;</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[assignTeam]] [[dissolveTeam]]
</dl>
}}
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|UNASSIGNTEAM]]
[[Category:Scripting Commands OFP Elite |UNASSIGNTEAM]]
[[Category:Scripting Commands Armed Assault|UNASSIGNTEAM]]
[[Category:Scripting Commands Arma 2|UNASSIGNTEAM]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Groups|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14: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