Unknown
From DarkAI
AI
SET ENTITY AVOID DISTANCE
This command sets the
avoidance distance an entity will use when attacking another entity.
If the target becomes closer than this distance, by either one of
them moving, this entity will move away from the target to a point at
least this distance from the target in a strafing backwards action
(whether or not Can Strafe is set). This effects both Cautious and
Aggressive stances.
This distance should be less than the
entity's attack distance (see AI Set Entity Attack Distance),
avoidance distance overrides attack distance.
A value of 0
will cause the entity to never perform avoiding actions with its
target but will still be bound by any entity-entity avoidance
resulting from two entities getting closer than twice the radius
apart. (see AI Set Avoid Mode).
Syntax
AI
Set Entity Avoid Distance Entity Number,
Distance#
Parameters
Entity Number, The
id of the entity to set the distance.
Distance#, The
distance for the entity to use.
Return
n/a