enableAI: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|") |
||
Line 15: | Line 15: | ||
| Enables parts of the AI behavior that was disabled by [[disableAI]]. | | Enables parts of the AI behavior that was disabled by [[disableAI]]. | ||
<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|arma3 | Since Arma 3 v1.95.145843 it is possible to return the state of the given AI flag via [[checkAIFeature]] or set it using alias command [[enableAIFeature]]}} | {{Feature|arma3 | Since Arma 3 v1.95.145843 it is possible to return the state of the given AI flag via [[checkAIFeature]] or set it using alias command [[enableAIFeature]]}} | ||
Revision as of 02:12, 7 February 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
- See also:
- See also needed
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