Warning: file_put_contents(/ff_8fd1a4ed5cc87d75a83729df7b2e0130eaa351a9d6e4051f.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
disableAI - OFPEC Scripting Command Reference | OFPEC The Editing Center

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"

Advertisement