dialogic-godot / dialogic

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

Implement label display name (translatable) & store last label #2203

Closed Jowan-Spooner closed 3 weeks ago

Jowan-Spooner commented 3 weeks ago

Label events can now be given a "display name", which can be translated. This way you can display the current story section, for example on a save.

The syntax for this is: label MyLabel (My Label Display Name) e.g. label Beginning (The beginning)

Info about the last passed label can be accessed with Jump.get_lastl_label_identifier and Jump.get_last_label_name() (this might be translated).