removeSwitchableUnit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma1 |Game name=
| arma1 |Game name=
Line 9: Line 8:


|gr2= Multiplayer |GROUP2=
|gr2= Multiplayer |GROUP2=
____________________________________________________________________________________________


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


| [[removeSwitchableUnit]]  unitName |SYNTAX=
| [[removeSwitchableUnit]]  unitName |SYNTAX=
Line 19: Line 16:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>[[removeSwitchableUnit]] _unit1;</code> |Example 1=
|x1= <code>[[removeSwitchableUnit]] _unit1;</code> |Example 1=

Revision as of 02:16, 17 January 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

Notes

Bottom Section