removeSwitchableUnit: 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>")
 
(37 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|REMOVESWITCHABLEUNIT]]
{{RV|type=command
[[Category:Scripting Commands ArmA|REMOVESWITCHABLEUNIT]]


{{Command|= Comments
|game1= arma1
____________________________________________________________________________________________
|version1= 1.00


| arma |= Game name
|game2= arma2
|version2= 1.00


|1.00|= Game version
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| Remove a unit from the list of units available for [[Team Switch]]. |= Description
|game4= tkoh
____________________________________________________________________________________________
|version4= 1.00


| '''removeSwitchableUnit'''  unitName |= Syntax
|game5= arma3
|version5= 0.50


|p1= unitName: [[Object]] |= Parameter 1
|gr1= Team Switch


| [[Nothing]] |= Return value
|gr2= Multiplayer
____________________________________________________________________________________________


| |= See also
|descr= Remove a unit from the list of units available for [[Team Switch]].


}}
|s1= [[removeSwitchableUnit]]  unitName
 
|p1= unitName: [[Object]]


<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>removeSwitchableUnit _unit1;</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[Team Switch]] [[addSwitchableUnit]]
}}

Latest revision as of 14:16, 5 May 2022

Hover & click on the images for description

Description

Description:
Remove a unit from the list of units available for Team Switch.
Groups:
Team SwitchMultiplayer

Syntax

Syntax:
removeSwitchableUnit unitName
Parameters:
unitName: Object
Return Value:
Nothing

Examples

Example 1:
removeSwitchableUnit _unit1;

Additional Information

See also:
Team Switch addSwitchableUnit

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