removeSwitchableUnit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma1 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 20: Line 20:
|gr2= Multiplayer
|gr2= Multiplayer


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


|s1=  [[removeSwitchableUnit]]  unitName
|s1=  [[removeSwitchableUnit]]  unitName

Revision as of 22:14, 13 June 2021

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