enableAI: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
m (Text replacement - "v1\.95\.[0-9]{6}" to "v1.96") |
||
Line 16: | Line 16: | ||
<br><br> | <br><br> | ||
{{Feature | important |When player switches and leaves behind AI unit, you need to enable "TeamSwitch" AI on it <tt>_unit [[enableAI]] "TeamSwitch"</tt> so that the unit continues with [[waypoints]] }} | {{Feature | important |When player switches and leaves behind AI unit, you need to enable "TeamSwitch" AI on it <tt>_unit [[enableAI]] "TeamSwitch"</tt> so that the unit continues with [[waypoints]] }} | ||
{{Feature|arma3 | Since Arma 3 v1. | {{Feature|arma3 | Since Arma 3 v1.96 it is possible to return the state of the given AI flag via [[checkAIFeature]] or set it using alias command [[enableAIFeature]]}} | ||
| unit '''enableAI''' skilltype | | unit '''enableAI''' skilltype |
Revision as of 10:22, 3 April 2021
Description
- Description:
- Description needed
- Groups:
- Object ManipulationUnit Control
Syntax
- Syntax:
- Syntax needed
- Parameters:
- unit: Object
- skilltype: String - See disableAI for possible values.
- Return Value:
- Return value needed
Examples
- Example 1:
_soldierOne enableAI "Move";
Additional Information
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