addSwitchableUnit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''addSwitchableUnit''' person |= Syntax
| '''addSwitchableUnit''' [[Object|Person]]|= Syntax


|p1= person: [[Object]] |= Parameter 1
|p1= [[Object|Person]]: [[Object]] |= Parameter 1


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 05:08, 27 August 2007

-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 Person
Parameters:
Person: Object
Return Value:
Nothing

Examples

Example 1:
addSwitchableUnit player

Additional Information

See also:
removeSwitchableUnitswitchableUnits

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)

Bottom Section