Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: evilspacefart on Sat 14/06/2003 00:07:34

Title: bug? in dialog script: option-off-forever broken
Post by: evilspacefart on Sat 14/06/2003 00:07:34
option-off-forever still occurs even after changing the script to option-off (with the -forever switch)

dialog script:

// dialog script file
@S  // dialog startup entry point
bruiser: "Don't bother me, punk."
return
@1  // ask question
bruiser: "This better be important."
option-on 2
option-off 1
option-off 7
return
@2  // looking for someone
bruiser: "Really? And who the heck is that?"
option-on 3
option-off 2
return
@3  // explain
bruiser: "Yeah? And why should I tell you?"
bruiser: "What's in it for me?"
option-on 4
option-off 3
return
@4  // what can i give you
bruiser: "Well, I could use some tickets for the big game..."
option-on 5
option-on 6
option-off 4
return

@5  // dont have it
bruiser: "Then quit wasting my time until you got something for me!"
option-on 6
option-on 7
option-off 1
option-off 2
option-off 3
option-off 4
option-off 5
stop
@6  // what is it again?
bruiser: "Get me my game tickets, bub, then we'll talk."
stop
@7  // bye
option-on 1
option-off 2
option-off 3
option-off 4
option-off 5
stop
@8  // option 8
return


Here's what happened:

I turned off a dialog option 2 forever.
tested game.
didn't like it.
quit game.
removed the -forever from the script.
Saved
tested game again.
it was still gone... the option 2 in the dialog still did not appear even though i corrected script and took out -forever and i used option-on.
You are not given the option to click it as a dialog, it is just atuomatically spoken.
That's after restaring the game from the point of the dialog before the now deleted option-off-forever is called.

please help.
Title: Re:bug? in dialog script: option-off-forever broken
Post by: Pumaman on Sat 14/06/2003 15:49:52
I'm not really sure what you're saying the problem is.

If only one dialog option is available, it will be automatically spoken (since there's no point making the player click on it when there's no choice in the matter).
Title: Re:bug? in dialog script: option-off-forever broken
Post by: evilspacefart on Sat 14/06/2003 20:08:23
Oh, I see. Makes sense. That probably happened when I turned off option 7. Thanks, CJ. :)