- summary: The placement cells of both teams for the fight being prepared, and the team your character was put in.
- area: Game.Fight.Preparation
The placement cells of both teams for the fight being prepared, and the team your character was put in.
Kind event · Area Game.Fight.Preparation
Tells you where you may stand before the fight starts. It arrives once the fight has been set up around your character, during the placement phase.
WHAT TO DO WHEN YOU RECEIVE IT
1. REPLACE your placement cells. The client empties both of its cell lists and
refills them from FightPlacementPossiblePositionsEvent.starting_positions:
the two lists of the record are copied unchanged, nothing is merged.
2. Record FightPlacementPossiblePositionsEvent.team: it is the team your
character fights in, and it tells you which of the two lists is yours.
3. To move before the fight starts, send FightPlacementPositionRequest with a
cell taken from YOUR team's list. A cell outside it is not a placement cell.
4. When you are placed, send FightReadyRequest with is_ready = true.
SEND NOTHING BACK. The handler builds no request; it only stores the cells and redraws the placement display.
THE CLIENT WAITS BEFORE APPLYING IT. Its handler starts an asynchronous routine that first waits until the fight display is ready, then applies the message. A script has no display to wait for and can apply it at once.
The cell ids are map cell ids, the same numbering as EntityDisposition cell ids.
When you may send it
- Requires
context_readyinferred
Related messages
- Unsolicited - nothing you send causes this the server sends it when the character's fight enters its placement phase; no request asks for it
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | starting_positions | FightStartingPositions | The placement cells of the two teams, as two lists of map cell ids. (map cell ids) The client copies both lists unchanged into its own placement lists, replacing what it held. A FightStartingPositions: challengers_positions are the attacking side's cells, defenders_positions the attacked side's. | never |
| 2 | team | Team | The team your character is placed in for this fight. Stored as the character's team in the fight-preparation state; it selects which of the two cell lists is yours. | never |