Difference between revisions of "teamSwitch"

From Bohemia Interactive Community
Jump to navigation Jump to search
(MP note)
Line 7: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Invoke the [[Team_Switch|Team Switch]] dialog (force it even when conditions are not met). |= Description
+
| Invoke the [[Team_Switch|Team Switch]] dialog (force it even when conditions are not met). There has to be at least one playable unit for team switch to work, and for this command to work in MP, respawn type in [[description.ext]] should be 5 (SIDE) |= Description
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 19:24, 15 January 2016

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

Description

Description:
Invoke the Team Switch dialog (force it even when conditions are not met). There has to be at least one playable unit for team switch to work, and for this command to work in MP, respawn type in description.ext should be 5 (SIDE)
Groups:
Uncategorised

Syntax

Syntax:
teamSwitch
Return Value:
Nothing

Examples

Examples:
Example needed

Additional Information

See also:
Team_SwitchenableTeamSwitchonBriefingTeamSwitchonTeamSwitchteamSwitchEnabled

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

Posted on May 13, 2015 - 07:15 (UTC)
Benargee
To get a unit back to it's normal AI behaviour after using team switch, simply use this code on the unit: _unit enableAI "TEAMSWITCH"; (Tested in a3 1.44)