Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Thu 29/01/2004 00:02:03

Title: Dialog scripting questions
Post by: on Thu 29/01/2004 00:02:03
Is there a way to change dialog options from game code? And can you use conditionals within the dialog script? How would I change the initial dialog script (the dialog that takes place before any options are presented)? Don't tell me I have to copy the entire topic just to change the first (start) dialog option?
Title: Re:Dialog scripting questions
Post by: Ishmael on Thu 29/01/2004 05:15:41
The @S in the dialog options is run every time you enter a conversation. There is SetDialogOption(int, int, int) text script command for changing dialog options outside dialgos, and for changing them from another dialog, using the run-script x dialog script command and dialog_request global script function.