enableAI: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (ts) |
Killzone Kid (talk | contribs) mNo edit summary |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Enables parts of the AI behavior that was disabled by | | Enables parts of the AI behavior that was disabled by [[disableAI]]. | ||
<br><br> | <br><br> | ||
Line 26: | Line 26: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_soldierOne [[enableAI]] "Move";</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 19:01, 30 July 2017
Description
- Description:
- Enables parts of the AI behavior that was disabled by disableAI.
NOTE: When payer switches and leaves behind AI unit, you need to enable "TeamSwitch" AI on it _unit enableAI "TeamSwitch" so that the unit continues with waypoints - Groups:
- Uncategorised
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
- See also:
- disableAI
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 Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Command Group: Unit Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters