- summary: Some obstacles of the current map opened or closed (doors, bridges, moving blocks).
- area: Game.Gamemap
Some obstacles of the current map opened or closed (doors, bridges, moving blocks).
Kind event · Area Game.Gamemap
Some obstacles of the current map changed state. Sent while you are on the map, for example when a door opens or a bridge appears.
WHAT TO DO
1. For each MapObstacle in obstacles, look up its cell_id and update the cell's
walkability: the official client makes the cell walkable when state is 0
(beta: OBSTACLE_OPENED) and blocks it otherwise.
2. Recompute any path that crosses those cells.
Send nothing back. An unnamed map member is never read by the client; ignore it.
When you may send it
- Requires
context_readyinferred
Related messages
- Unsolicited - nothing you send causes this inferred — the server sends it whenever an obstacle of your map changes state
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 2 | obstacles | repeated MapObstacle | The obstacles whose state changed. Element type MapObstacle. | never |