- summary: One stated element changing state: a door opening, a lever thrown, a resource going from full to harvested.
- area: Game.Interactive
One stated element changing state: a door opening, a lever thrown, a resource going from full to harvested.
Kind event · Area Game.Interactive
The delta counterpart of StatedMapUpdateEvent.
THIS IS THE MESSAGE THAT TELLS YOU A RESOURCE WAS TAKEN. Combined with
InteractiveElementUpdatedEvent it is how a harvesting script learns that a
node it was heading for is no longer worth walking to - including when somebody
else took it.
Match by StatedElement.element_id and replace the element in your model.
When you may send it
- Requires
context_readyinferred
Related messages
- Unsolicited - nothing you send causes this inferred — the server publishes state changes as they happen
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | stated_element | StatedElement | The element whose state changed. A whole StatedElement - replace your copy rather than patching it. | never |