How do you stop your character from saying the last dialog option automatically

Started by aussie, Sun 30/10/2011 15:54:43

Previous topic - Next topic

aussie

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.
It's not the size of the dog in the fight. It's the size of the fight in the dog.

http://www.freewebs.com/aussiesoft/

steptoe

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):

Code: ags

@4
     character.Say("");

stop


or

Code: ags

@4
character:

stop


It's not over until the fat lady sings..

Khris

Just put this in game_start:

Code: ags
  game.show_single_dialog_option  = 1;


It's in the game variables section.

Creator

Similar to steptoe's example, I always have an "End Dialog" option with the code being something like:

Code: ags

@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.

aussie

Quote from: LeKhris on Sun 30/10/2011 16:41:22
Just put this in game_start:

Code: ags
  game.show_single_dialog_option  = 1;


It's in the game variables section.

I think this solution works best. Thanks!
It's not the size of the dog in the fight. It's the size of the fight in the dog.

http://www.freewebs.com/aussiesoft/

Khris

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 :)

SMF spam blocked by CleanTalk