enableAI: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(locality)
(ts)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Enables parts of the AI behavior that was disabled by '''disableAI'''. |= Description
| Enables parts of the AI behavior that was disabled by '''disableAI'''.  
 
<br><br>
NOTE: When payer 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
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 19:00, 30 July 2017

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

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