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>")
 
(45 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]]


|game1= ofpe
|version1= 1.00


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


|game3= arma2
|version3= 1.00


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


'''team:''' [[String]]
|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= Dissolves the given team. All members become members of the main team.


'''Description:'''
|s1= [[dissolveTeam]] teamColor


Dissolves the given team.
|p1= teamColor: [[String]] - can be one of:
* "RED"
* "GREEN"
* "BLUE"
* "YELLOW"


All members become members of the main team.
|r1= [[Nothing]]


Possible team values are: "RED", "GREEN", "BLUE" or "YELLOW".
|x1= <sqf>dissolveTeam "RED";</sqf>


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

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