enableAI

From Bohemia Interactive Community
Revision as of 22:50, 3 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search



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"