Unknown
From DarkAI
AI
ADD ZONE
This command creates a square zone
defined by the two opposing corners MinX, MinZ and MaxX,
MaxZ, and acts as an area of visibility that can be assigned to
entities using AI Entity Assign Zone.
The container
number parameter allows you to specify a container to limit the zone
to, with which only entities from that container will trigger a
response from anyone assigned to the zone. This can be useful for
preventing entities from overlapping containers from triggering each
others zones. The default is -1 for all containers. This can be used
to achieve a special effect that entities assigned a zone from
another container can see entities from that container. See the Zones
description for details and an example usage
The Zone
Number must be unique across all
containers, no two zones with the same id can exist at the same
time.
Syntax
AI Add
Zone Zone Number, MinX#, MinZ#, MaxX#, MaxZ#
AI Add Zone
Zone Number, MinX#, MinZ#, MaxX#, MaxZ#, Container
Number
Parameters
Zone Number, the id you
want to use to represent this zone.
MinX#, The minimum X
bound of the zone.
MinZ#, The minimum Z bound of the
zone.
MaxX#, The maximum X bound of the zone.
MaxZ#,
The maximum Z bound of the zone.
Container Number,
(optional) the id of a container to restrict the zone
to.
Return
n/a