enableAI: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|ENABLEAI]]
[[Category:Scripting Commands ArmA|ENABLEAI]]


<new command not populated>




<h2 style="color:#000066">''''' enableAI '''''</h2>
<h2 style="color:#000066">''unit'' ''''' enableAI ''''' ''section''</h2>




'''Operand types:'''
'''Operand types:'''
'''unit''': [[Object]]
'''section''': [[String]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''
Version 2.53 required.


'''Description:'''
'''Description:'''
Enables parts of the AI behaviour. Section is one of "TARGET" (enables watching assigned targets), "AUTOTARGET" (enables independed target assigning and watching of unknown targets) or "MOVE" (enables movement).




'''Example:'''
'''Example:'''
soldierOne '''enableAI''' "Move"

Revision as of 04:04, 3 July 2006



unit enableAI section


Operand types:

unit: Object

section: String

Type of returned value:

Nothing

Compatibility:

Version 2.53 required.

Description:

Enables parts of the AI behaviour. Section is one of "TARGET" (enables watching assigned targets), "AUTOTARGET" (enables independed target assigning and watching of unknown targets) or "MOVE" (enables movement).


Example:

soldierOne enableAI "Move"