unitName disableAI section

Operand types

unitName: Object
section: String

Type of returned value

Description

Disable parts of AI behaviour to get fine control over unit.
Section is one of:

* "TARGET" (disable watching assigned target)
* "AUTOTARGET" (disable independed target assigning and watching unknown targets),
* "MOVE" (disable movement)
* "ANIM" (disable ability of AI to change animation. Available only in Armed Assault.)

Used In

OFP/ArmA

Example

soldierOne disableAI "Move"
Search OFPEC COMREF