OnDialogueStarted
On this page
Earlier edition reference / Current 0.86.4.0 property paths > p. 329
when dialogue elias_intro starts
log(to_json(event))
endA valid dialogue session begins, before its graph is processed.
| Common context keys | Use and limits |
|---|---|
| dialogueId, playerId; inherited caller context may also be present | Filter dialogueId before adjusting a conversation camera or HUD. Starting the same dialogue from this handler can recurse. Keep listener work short when it must complete before the first line appears. |
OnDialogueEnded#
when dialogue elias_intro ends
log(to_json(event))
endA dialogue session ends, including interrupted endings.
| Common context keys | Use and limits |
|---|---|
| dialogueId, playerId, interrupted; inherited caller context may also be present | Check interrupted before granting a reward that belongs only to successful completion. Some explicit end paths can supply a blank dialogueId, so do not assume every payload identifies a normal completed graph. |
OnInventoryChanged#
when inventory changes
log(to_json(event))
endAn inventory mutation route reports an add, remove or quantity change.
| Common context keys | Use and limits |
|---|---|
| characterId, itemId, amount, operation | Use operation and the actual bag state together. amount is supplied by that mutation route; it is not guaranteed to be the resulting total. Adding/removing inside this listener can trigger another inventory event, so guard feedback loops. |
