OnDialogueEnded
On this page
GDScript handler: on_dialogue_ended(event: Dictionary = {})
A dialogue session ends, including interrupted endings.
| Standard context | Practical use / 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#
GDScript handler: on_inventory_changed(event: Dictionary = {})
An inventory mutation route reports an add, remove or quantity change.
| Standard context | Practical use / 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. |
OnSaveLoaded#
GDScript handler: on_save_loaded(event: Dictionary = {})
A save has successfully restored game state.
| Standard context | Practical use / limits |
|---|---|
| slot, sceneId, playerId | Refresh presentation from restored variables. Do not award a pickup again merely because its saved state was loaded. This is a successful-load hook; a missing or invalid save should not be treated as a completed restore. |
