ax.zones¶
Source: gamemode/modules/zones/libraries/sh_evaluation.lua
Get all physical zones that contain a position.
Documented functions: 4
Functions¶
ax.zones:AtPos(pos)¶
Get all physical zones that contain a position.
Realm: shared
Returns
table: Array of zone specs, sorted by priority (desc) then id (asc)
ax.zones:BlendFor(ent)¶
Compute zone blend for an entity. Returns physical zones, visible zones, and the dominant zone.
Realm: shared
Returns
table: Result with fields: physical (array), visible (array), dominant (zone|nil)
ax.zones:GetDominant(ent)¶
Get the dominant zone for an entity (convenience method).
Realm: shared
Returns
table|nil: The dominant zone or nil
ax.zones:VisibleZones(ent)¶
Get all PVS and trace zones visible to an entity.
Realm: shared
Returns
table: Array of zone specs with weight field, sorted by weight desc