addSwitchableUnit: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 103769 by killzone_kid on 2017-07-10T18:30:20Z) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Adds a unit into the list of units available for [[Team_Switch|Team Switch]]. Units marked as [[playableUnits|playable]] in editor are automatically switchable. This command allows to add non-playable unit into array of [[switchableUnits]] and make them available for [[teamSwitch]]. SP only.|= | | Adds a unit into the list of units available for [[Team_Switch|Team Switch]]. Units marked as [[playableUnits|playable]] in editor are automatically switchable. This command allows to add non-playable unit into array of [[switchableUnits]] and make them available for [[teamSwitch]]. SP only.|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''addSwitchableUnit''' unitName|= | | '''addSwitchableUnit''' unitName|SYNTAX= | ||
|p1= unitName: [[Object]] |= Parameter 1 | |p1= unitName: [[Object]] |= Parameter 1 | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 20: | Line 20: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[teamSwitch]], [[removeSwitchableUnit]], [[switchableUnits]] |= | | [[teamSwitch]], [[removeSwitchableUnit]], [[switchableUnits]] |SEEALSO= | ||
}} | }} |
Revision as of 11:25, 7 April 2019
Description
- Description:
- Adds a unit into the list of units available for Team Switch. Units marked as playable in editor are automatically switchable. This command allows to add non-playable unit into array of switchableUnits and make them available for teamSwitch. SP only.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
addSwitchableUnit bob
Additional Information
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