Skip to content

ZoneChange

Namespace: ChannelToClient  ·  Opcode: 0x0023 (35)

Channel-to-client "enter zone" notification. Tells the client which zone definition to load, a unique instance id for this particular run of that zone, the player's starting position + rotation, and the dynamic-map id used for zones that can swap their terrain data (instances, events).

Fields

Field Type Modifiers Description
ZoneDefinitionId s32 Zone definition id the client looks up in its local data files to find geometry, NPCs, and scripts.
ZoneUniqueId s32 Per-instance unique id so the client can distinguish between two different runs of the same zone definition (matters for instanced content).
X float Starting X coordinate for the player in zone-local units.
Y float Starting Y coordinate for the player in zone-local units.
Rotation float Starting rotation in radians.
DynamicMapId s32 Dynamic map id. For plain public zones this equals ZoneDefinitionId; for instanced zones it swaps in alternate terrain data.