enableAI: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
m (template:command argument fix) |
||
Line 14: | Line 14: | ||
<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]] }}|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| unit '''enableAI''' skilltype |= | | unit '''enableAI''' skilltype |SYNTAX= | ||
|p1= unit: [[Object]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
|p2= skilltype: [[String]] - See [[disableAI]] for possible values. |= | |p2= skilltype: [[String]] - See [[disableAI]] for possible values. |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_soldierOne [[enableAI]] "Move";</code> |= | |x1= <code>_soldierOne [[enableAI]] "Move";</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[disableAI]] |= | | [[disableAI]] |SEEALSO= | ||
}} | }} |
Revision as of 14:38, 7 April 2019
Description
- Description:
- Enables parts of the AI behavior that was disabled by disableAI.
- 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