enableAI: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:




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




Line 24: Line 24:
'''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).
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)
*"MOVE" (enables movement).





Revision as of 23:50, 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)
  • "MOVE" (enables movement).


Example:

soldierOne enableAI "Move"