Hi there,
I'm using SugarCube 2.21 and Twine 2.x.
I'd like to create short dialogs between my player and the NPCs in game.The idea is, that I don't want to create too many passages as that would make organizing passages in Twine a nightmare for me.
For the first time I want to keep everything simple and just have one NPC talk to the player. The format would be the following:
$NPCs_Name : $NPC_Message1
$Players_Name:
$Players_answer_1
$Players_answer_2
$Players_answer_3
If there was a previous dialog: go back to that.
The depth of the dialog's level would be 3. So, if there was a dialog between the NPC and the player, the player would answer the first question and proceed to the second one, but in case the player decides to go back to the previous question, they could do just that and change their answer. After answering the third question, the dialog would be over and the player would be transfered to a passage via <<goto>>.
Answers and NPC messages should be able to display variables and answers would also be able to set variables using macros such as <<set>> and <<script>> and send the player to other passages via <<goto>>.
So far I've been looking at the following answer from a Twine 1 SugarCube question:
https://twinery.org/forum/discussion/2954/dialogue-without-shifting-from-passage-to-passage
Unfortunately, the answer was not enough for me to get the resutls that I'm looking for.