addSwitchableUnit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (VBS2 scripting category removal)
(mass edit: removing obsolete </dt> and </dd> tags)
Line 28: Line 28:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dd class="notedate"></dd>
<dd class="notedate">
<dt class="note">'''[[User:Ceeeb|Ceeeb]]'''</dt><dd class="note">Using this command and then attempting to use [[Team_Switch|Team Switch]] in a multiplayer game will crash the instance of ArmA that is trying to team switch. (5143 beta)
<dt class="note">'''[[User:Ceeeb|Ceeeb]]'''<dd class="note">Using this command and then attempting to use [[Team_Switch|Team Switch]] in a multiplayer game will crash the instance of ArmA that is trying to team switch. (5143 beta)
</dd>


<dt class="note">'''[[User:Messiah2|Messiah2]]'''</dt><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)
</dd>
 





Revision as of 16:49, 17 October 2011

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Add a unit into the list of units available for Team Switch.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
addSwitchableUnit player

Additional Information

See also:
Team_SwitchremoveSwitchableUnitswitchableUnits

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

Ceeeb
Using this command and then attempting to use Team Switch in a multiplayer game will crash the instance of ArmA that is trying to team switch. (5143 beta)
Messiah2
This command does not work as well as setPlayable: http://dev-heaven.net/issues/show/4461 (ArmA 2 OA v1.59)

Bottom Section