- summary: One element has left the current context. This is the despawn message.
- area: Game.Context
One element has left the current context. This is the despawn message.
Kind event · Area Game.Context
THE DESPAWN. Process this or your world model only ever grows.
element_id is the same id space as ActorPositionInformation.actor_id and
InteractiveElement.element_id - a player, a monster, an NPC or an
interactive object. Remove whatever you are holding under that id.
A script that skips this will keep attacking monsters that are dead, walking to resources someone else took, and following players who left the map. It is the cheapest message in the protocol to handle and the most expensive one to ignore.
When you may send it
- Requires
context_readyinferred
Related messages
- Unsolicited - nothing you send causes this inferred — the server announces departures as they happen
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | element_id | int64 | The context element that left: a player, monster, NPC or interactive object. (element id) | never |