ScriptZone
Represents a zone defined in an EliteScript, handling shape generation, entity retrieval, and triggering events when entities enter or leave the zone.
Constructors
Functions
Link copied to clipboard
Generates shapes that define the zone based on the script action data.
Link copied to clipboard
The blueprint defining this script zone.
Link copied to clipboard
protected Collection<LivingEntity> getZoneEntities(ScriptActionData scriptActionData, ScriptTargetsBlueprint blueprintFromRequestingTarget)
Retrieves living entities within the zone based on the provided script action data and target blueprint.
Link copied to clipboard
protected Collection<Location> getZoneLocations(ScriptActionData scriptActionData, ScriptTargets actionTarget)
Retrieves locations within the zone based on the provided script action data and target.
Link copied to clipboard
Whether this zone should listen for entities entering and leaving.
Link copied to clipboard
Starts a zone listener that monitors entities entering or leaving the zone.
Link copied to clipboard
Triggers a ScriptZoneEnterEvent when a living entity enters the zone.
Link copied to clipboard
Triggers a ScriptZoneLeaveEvent when a living entity leaves the zone.