teamSwitch

From Bohemia Interactive Community
Revision as of 20:24, 15 January 2016 by Killzone Kid (talk | contribs) (MP note)
Jump to navigation Jump to search
-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)