dialogic-godot / dialogic

💬 Create Dialogs, Visual Novels, RPGs, and manage Characters with Godot to create your Game!
https://dialogic.pro
MIT License
3.42k stars 206 forks source link

LabelEvent: Store last label that was passed #1891

Closed Pheubel closed 1 month ago

Pheubel commented 6 months ago

Is your feature request related to a problem? Please describe. I want to create a save/load UI, which could use the label name in order to display where in the story the save is.

Describe the solution you'd like It would be nice if I was able to get the last visited label.

From additional talk in discord, it seems like having a display name could be useful. I wonder if having a signal for it would help as well

Describe alternatives you've considered You could partially get label information from the jump stack, but I think that it is not an accurate way of getting labels.

Additional context N/A