Unknown
From DarkAI
AI
SET ENTITY CAN ATTACK
This command sets if the
entity is allowed to attack other entities whilst in automatic mode,
the default mode is to allow attacks. When disabled the entity will
not enter any 'Attack' state but will still respond to other events
such as sounds. The entity will still keep a target list but won't
move to attack the targets.
Syntax
AI Set Entity Can
Attack Entity Number, Mode
Parameters
Entity
Number, The id of the entity you want to set the attack
mode.
Mode, Use 1 to allow the entity to attack, 0 to
prevent attacking.
Return
n/a