dissolveTeam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(46 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|DISSOLVETEAM]]
{{RV|type=command
[[Category:Scripting Commands OFP Elite |DISSOLVETEAM]]
[[Category:Scripting Commands ArmA|DISSOLVETEAM]]


<new command not populated>
|game1= ofpe
|version1= 1.00


|game2= arma1
|version2= 1.00


<h2 style="color:#000066">''' dissolveTeam ''team'''''</h2>
|game3= arma2
|version3= 1.00


|game4= arma2oa
|version4= 1.50


'''Operand types:'''
|game5= tkoh
|version5= 1.00


'''team:''' [[String]]
|game6= arma3
|version6= 0.50


'''Type of returned value:'''
|gr1= Groups


[[Nothing]]
|arg= local


'''Compatibility:'''
|descr= Dissolves the given team. All members become members of the main team.


Version 2.05 required.
|s1= [[dissolveTeam]] teamColor


'''Description:'''
|p1= teamColor: [[String]] - can be one of:
* "RED"
* "GREEN"
* "BLUE"
* "YELLOW"


Dissolves the given team.
|r1= [[Nothing]]


All members become members of the main team.
|x1= <sqf>dissolveTeam "RED";</sqf>


Possible team values are: "RED", "GREEN", "BLUE" or "YELLOW".
|seealso= [[assignTeam]] [[unassignTeam]]
 
}}
 
'''Example:'''
 
'''dissolveTeam''' "RED"

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