enableAI: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
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...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|arg= local | |arg= local | ||
|eff= global | |eff= global | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|gr2= Unit Control | |gr2= Unit Control | ||
| 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> | ||
{{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]] }} | {{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]]}} | ||
| unit '''enableAI''' skilltype | | unit '''enableAI''' skilltype | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|p2= skilltype: [[String]] - See [[disableAI]] for possible values. | |p2= skilltype: [[String]] - See [[disableAI]] for possible values. | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_soldierOne [[enableAI]] "Move";</code> | |x1= <code>_soldierOne [[enableAI]] "Move";</code> | ||
| [[disableAI]], [[checkAIFeature]], [[enableAIFeature]], [[vehicleMoveInfo]] | | [[disableAI]], [[checkAIFeature]], [[enableAIFeature]], [[vehicleMoveInfo]] | ||
}} | }} |
Revision as of 00:34, 18 January 2021
Description
- Description:
- Enables parts of the AI behavior that was disabled by disableAI.
- Groups:
- Object ManipulationUnit Control
Syntax
- Syntax:
- unit enableAI skilltype
- Parameters:
- unit: Object
- skilltype: String - See disableAI for possible values.
- Return Value:
- Nothing
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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Command Group: Object Manipulation
- Command Group: Unit Control
- Scripting Commands: Global Effect
- Operation Flashpoint: Elite: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands