dissolveTeam: 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 - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


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


|1.00|Game version=
|game2= arma1
|version2= 1.00


|gr1= Groups |GROUP1=
|game3= arma2
|version3= 1.00


|arg= local |Multiplayer Arguments=
|game4= arma2oa
____________________________________________________________________________________________
|version4= 1.50


| Dissolves the given team. All members become members of the main team. Possible team values are: "RED", "GREEN", "BLUE" or "YELLOW". |DESCRIPTION=
|game5= tkoh
____________________________________________________________________________________________
|version5= 1.00


| '''dissolveTeam''' teamColor |SYNTAX=
|game6= arma3
|version6= 0.50


|p1= teamColor: [[String]] |PARAMETER1=
|gr1= Groups


| [[Nothing]] |RETURNVALUE=
|arg= local
____________________________________________________________________________________________
 
|x1= <pre>dissolveTeam "RED"</pre> |EXAMPLE1=
____________________________________________________________________________________________


| [[assignTeam]], [[unassignTeam]] |SEEALSO=
|descr= Dissolves the given team. All members become members of the main team.


}}
|s1= [[dissolveTeam]] teamColor


<h3 style="display:none">Notes</h3>
|p1= teamColor: [[String]] - can be one of:
<dl class="command_description">
* "RED"
<!-- Note Section BEGIN -->
* "GREEN"
* "BLUE"
* "YELLOW"


<!-- Note Section END -->
|r1= [[Nothing]]
</dl>


<h3 style="display:none">Bottom Section</h3>
|x1= <sqf>dissolveTeam "RED";</sqf>


[[Category:Scripting Commands|DISSOLVETEAM]]
|seealso= [[assignTeam]] [[unassignTeam]]
{{GameCategory|ofpe|Scripting Commands}}
}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 22:42, 28 June 2022

Hover & click on the images for description

Description

Description:
Dissolves the given team. All members become members of the main team.
Groups:
Groups

Syntax

Syntax:
dissolveTeam teamColor
Parameters:
teamColor: String - can be one of:
  • "RED"
  • "GREEN"
  • "BLUE"
  • "YELLOW"
Return Value:
Nothing

Examples

Example 1:
dissolveTeam "RED";

Additional Information

See also:
assignTeam unassignTeam

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