Unknown

From DarkAI

AI ENTITY ASSIGN ZONE

Use this command to assign an existing zone to an entity that will provide an area of complete visibility for the entity. Any opposing entity or player that enters the specified zone will be added to the entity's target list and acted upon. Multiple zones can be assigned to entities at the same time.

Zones can replace or add to an entity's view range, so that if the entity's view range is set to 0 it will still be able to see enemies that enter any assigned zones. If the entity's target leaves such a zone the entity will act as if it lost sight of its target.


Syntax
AI Entity Assign Zone Entity Number, Zone Number

Parameters
Entity Number, The id of the entity you want to assign the zone to.
Zone Number, The id of the zone you want to assign to the entity.

Return
n/a