Hi all.
I hope everyone is well.
Firstly, as always, I am using AGS 2.72.
I have created dialog between my character and an NPC and all works fine. I have also done this many times before.
Now for my question.
If you talk to an NPC and the topic branches off into another set of question and you select "Goodbye".
The next time you speak to the same character is there a way of picking up the conversation where you left off without going all through the same dialog again.
I have looked through the manual and searched for answers but to no avail.
It's not a huge problem as all is going well. It's just something that may make things seem more fluid within my game.
Any help would be most appreciated.
Thanks.
Jay.
In this case I'd go as far as to recommend using a global int (#8 in this example).
In the second topic's script, set a global int using "set-globalint 8 1" before exiting the dialog.
Then, in the NPC's talkto interaction, check its value:
if (GetGlobalInt(8)) dNpc2.Start();
else dNpc.Start();
You might want to set the GI back to 0 if the player ends the first dialog, you might also want to change the "goto-previous" line in the second one to "goto-dialog X" so the player can still get back to the original set of questions.
Hi Khris.
Once again thanks for the quick reply. I will try what you have suggested (when I have the time) and let you know how things went.
I will post the outcome here or PM you.
Thanks.
Jay.
P.s. If you go to my site again. You will notice it has changed a bit. However the screenshots need to be changed as my game (the first game I ever created with AGS) has now become my Nemesis. ;)
I am still working on my second game as well. You might get to play them someday, If the Atom project doesn't kill us all first!! ;D