Unknown
From DarkAI
AI
SET ENTITY ATTACK DISTANCE
This command sets the
distance an entity will attack from when in an aggressive
stance(stance 1). If the entity spots a target that is further than
this distance it will move towards it until either this distance is
reached or it becomes too close and moves to avoid the target (see AI
Set Entity Avoid Distance).
This distance should normally
be greater than twice the set radius otherwise the entity will
attempt to continually move on top of its target, and will be
prevented from doing so if entity-entity avoidance is on. (see AI
Set Avoid Mode)
This distance should normally be greater
than the entity's avoid distance (see AI Set Entity Avoid
Distance) otherwise the entity
will move towards the target, go beyond its avoid distance triggering
it move further away, then move back towards the target possibly in
rapid succession.
Syntax
AI Set Entity Attack
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