- summary: One entity in the current context changed appearance. Replace the look you store for it.
- area: Game.Context
One entity in the current context changed appearance. Replace the look you store for it.
Kind event · Area Game.Context
Replace the stored look of entity_id with look. The entity itself stays where
it is: its id, position and everything else you know about it are unchanged.
Step by step:
1. Find the entity under entity_id - the same id space as
ContextRemoveElementEvent.element_id and ActorPositionInformation.actor_id.
2. Overwrite its whole EntityLook with look. It is a complete look, not a
delta: sub-entities (a mount, a pet) are inside it and replace the old ones.
3. Send nothing back.
IT ARRIVES IN BOTH CONTEXTS. On a roleplay map the client redraws the actor; in a fight it redraws the fighter. Handle it the same way in both.
THE ID CAN BE YOUR OWN CHARACTER. Update your own look too, or your record of yourself goes stale.
An id you do not know is not an error: the client looks the entity up and changes
nothing when it is not there. Do not create an entity from this message; entities
come from GameRolePlayShowActorsEvent.
Some builds declare extra fields beside these two. The client never reads them; leave them alone.
When you may send it
- Requires
context_readyinferred
Related messages
- Unsolicited - nothing you send causes this the server sends it whenever an entity's appearance changes; nothing the client sends asks for it
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | entity_id | int64 | The entity whose look changed: a player, monster, NPC or fighter in the current context. (entity id) Same id space as ContextRemoveElementEvent.element_id. It can be your own character. | never |
| 2 | look | EntityLook | The entity's complete new appearance. It replaces the old look, sub-entities included. | never |