addSwitchableUnit: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Killzone Kid (talk | contribs) (outdated note removed) |
||
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 it available for [[teamSwitch]]. SP only.|= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 17: | Line 17: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>[[addSwitchableUnit]] bob</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ | | [[teamSwitch]], [[removeSwitchableUnit]], [[switchableUnits]] |= See also | ||
}} | }} | ||
Line 29: | Line 29: | ||
<dd class="notedate"> | <dd class="notedate"> | ||
<dt class="note">'''[[User:Messiah2|Messiah2]]'''<dd class="note"> | <dt class="note">'''[[User:Messiah2|Messiah2]]'''<dd class="note"> | ||
This command does not work as well as [[setPlayable]]: http://dev-heaven.net/issues/show/4461 (ArmA 2 OA v1.59) | This command does not work as well as [[setPlayable]]: http://dev-heaven.net/issues/show/4461 (ArmA 2 OA v1.59) |
Revision as of 19:17, 10 July 2017
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 it 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
Notes
- Messiah2
- This command does not work as well as setPlayable: http://dev-heaven.net/issues/show/4461 (ArmA 2 OA v1.59)