teamSwitch: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Undo revision 83359 by Benargee (talk) there is a perfect solution to this problem, donttype teamSwitch into the watch field :) If you think it is a bug, report it on feedback tracker, please.)
No edit summary
Line 33: Line 33:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on May 13, 2015 - 07:15 (UTC)</dd>
<dt class="note">[[User:Benargee|Benargee]]</dt>
<dd class="note">To get a unit back to it's normal AI behaviour after using team switch, simply use this code on the unit:
<code>_unit [[enableAI]] "TEAMSWITCH";</code>
(Tested in {{Name|a3}} 1.44)
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 08:15, 13 May 2015

-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).
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)