MagicDuel

Npctalk dialogues support goto label

Announcement 5564 · · posted by Mur · Stage 16
Npctalk dialogues support goto label
Dialogues can now make use of labels to jump inside the same topic to different branches. For example, you could navigate an imaginary map in a text story, and have all possible outcomes, rewards and so on, nicely configured in separate entries. Similar functionality was achieved by Fyrd using the npctalk# function to jump to independent topics, but now jumps can be made inside same topic too. In addition to this, if there are multiple entries with same label, it will pick a random one to jump to (useful to create more dynamic and less predictable outcomes).
Look for "npctalk#" in the docs, for updated syntax and examples.

Note: more tools related to npctalk are in work, because this is one of the a25 features that allows fast creation of interactive content, without the need of artworks. Interactive text stories always fascinated me, so i am building this a25 feature with this in mind, so it can be used to create interactive, branched, stories and quests.

CODENAME: AUTUMN2050