I've done a search for this in the forums, but it's kinda difficult to word it correctly.
I have this conversation where there is one single dialog option left to say. The player character says it automatically, but I want the player to actually click on it before it is said. How do you do that?
The question is pretty basic. The fact is I've done it already in the game I'm working on, but I can't remember how. :-\
Thanks very much.
Hi
you have to have another dialog option. Just have it say nothing, It works for me.
The dialog plays the last option automatically.
Add this (just change option number and character to suit):
@4
character.Say("");
stop
or
@4
character:
stop
Just put this in game_start:
game.show_single_dialog_option = 1;
It's in the game variables (http://www.adventuregamestudio.co.uk/manual/Gamevariables.htm) section.
Similar to steptoe's example, I always have an "End Dialog" option with the code being something like:
@4
EGO: Well, bye.
NPC: See ya.
stop
Khris's example will stop the dialog from running the only remaining option and will, instead, make the player have to choose said option.
Quote from: LeKhris on Sun 30/10/2011 16:41:22
Just put this in game_start:
game.show_single_dialog_option = 1;
It's in the game variables (http://www.adventuregamestudio.co.uk/manual/Gamevariables.htm) section.
I think this solution works best. Thanks!
Creator: The problem is that this might be what aussie is doing already, but he doesn't want the game to automatically select the "End Dialog" option :)