diolog help needed

Help Topics, Bug Reports, Feature Requests, etc.
Post Reply
User avatar
CatHat5678
Rainbow Wonderlander
Posts: 185
Joined: Sat Nov 29, 2008 2:57 am

diolog help needed

Post by CatHat5678 » Tue Feb 17, 2009 5:47 am

how do you make it that a diolog changes after you read it?
Why did the chicken cross the road?
Because if the road crossed the chicken the old lady's would trip over the bump!
(no offence to anyone who thinks of themselves as "old")
User avatar
cbloopy
Rainbow Master
Posts: 612
Joined: Thu Jan 01, 2009 11:21 am

Post by cbloopy » Tue Feb 17, 2009 6:52 am

Set "FNC" of the answer to 1 and "Data" to the interchange number you want the dialog to start the next time the dialog is shown.

For example say you have a dialog like this:

Code: Select all

interchange #0
First time you read this

answer #0
Ok.
FNC 1  Data 1 CMD 0 Dat1 0 Dat2 0 Dat3 0 Dat4 0

interchange #1
You've read this already

answer #0
Right, I remeber now.
FNC 1 Data 1 CMD 0 Dat1 0 Dat2 0 Dat3 0 Dat4 0
The first time you'll see "First time you read this". When you click Ok, the FNC 1 Data 1 tells the game to close the dialog, and to use interchange #1 instead the next time you open the dialog. So the second time you'll see "You've read this already". Because that interchange also has FNC 1 Data 1 for its answer, you'll keep reading interchange #1 from now on.

If instead we made answer #0 of interchange #1 have FNC 1 Data 0, then you'll see the dialog alternate between "First time you read this" (interchange #1) and "You've read this already" (interchange #0) each time the dialog is shown.

For more information on dialog see this tutorial page:

http://www.midnightsynergy.com/adventur ... orial5.htm
Post Reply