enableAI: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
m (Text replacement - "v1\.95\.[0-9]{6}" to "v1.96") |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma1 | | arma1 | ||
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. | {{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 | ||
Line 28: | Line 28: | ||
|x1= <code>_soldierOne [[enableAI]] "Move";</code> | |x1= <code>_soldierOne [[enableAI]] "Move";</code> | ||
| [[disableAI]], [[checkAIFeature]], [[enableAIFeature]], [[vehicleMoveInfo]] | |seealso= [[disableAI]], [[checkAIFeature]], [[enableAIFeature]], [[vehicleMoveInfo]] | ||
}} | }} | ||
{{GameCategory|ofpe|Scripting Commands}} | {{GameCategory|ofpe|Scripting Commands}} | ||
{{GameCategory|arma1|Scripting Commands}} | {{GameCategory|arma1|Scripting Commands}} |
Revision as of 11: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