enableAI

From Bohemia Interactive Community
Revision as of 05:04, 3 July 2006 by Hoz (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) or "MOVE" (enables movement).


Example:

soldierOne enableAI "Move"