Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: zeta_san on Thu 20/08/2020 08:38:17

Title: Dialog MI style
Post by: zeta_san on Thu 20/08/2020 08:38:17
Hello guys
I am writing a dialogue with more questions. when the last option arrives I have no choice, I have no possibility to click, it goes automatically
Title: Re: Dialog MI style
Post by: heltenjon on Thu 20/08/2020 09:19:20
Quote from: zeta_san on Thu 20/08/2020 08:38:17
Hello guys
I am writing a dialogue with more questions. when the last option arrives I have no choice, I have no possibility to click, it goes automatically


If you want to avoid this, you could insert an option along the lines of "Bye then."/"I don't want to ask more questions now".
Title: Re: Dialog MI style
Post by: zeta_san on Thu 20/08/2020 09:33:46
Thanks man

I thought about it and I got stuck ..
if I talk to you I say first

- Hi, what's your name?

(it is logical that I say later)

- nice name

(visible only later. not immediately)

thanks now I try
Title: Re: Dialog MI style
Post by: Khris on Thu 20/08/2020 12:10:12
In  game_start, add this:

Code (ags) Select
  game.show_single_dialog_option = 1;
Title: Re: Dialog MI style (SOLVED)
Post by: zeta_san on Thu 20/08/2020 13:09:59
Quote from: Khris on Thu 20/08/2020 12:10:12
In  game_start, add this:

Code (ags) Select
  game.show_single_dialog_option = 1;

Thanks
Title: Re: Dialog MI style
Post by: zeta_san on Thu 20/08/2020 19:04:01
 :cry: there is no such option on the Tumbleweed theme
Title: Re: Dialog MI style
Post by: morganw on Thu 20/08/2020 23:44:59
It is an engine option so it should always be available to set:
https://adventuregamestudio.github.io/ags-manual/Gamevariables.html
...whether the template implements something that might override/ignore it is a separate issue, although I think it is likely that it is still relevant.
Title: Re: Dialog MI style
Post by: zeta_san on Fri 21/08/2020 07:21:14
hello, it does not find it with the "find" in the project but if I try to write it, it suggests it to me.

where exactly should I insert the line?
in CustomDialogGui?
Title: Re: Dialog MI style
Post by: Matti on Fri 21/08/2020 10:13:04
As Khris said, put it in game_start, in Global Script.
Title: Re: Dialog MI style
Post by: zeta_san on Fri 21/08/2020 10:23:09
Khris
I'm sorry I didn't read the post correctly
Title: Re: Dialog MI style
Post by: Khris on Fri 21/08/2020 10:32:57
No problem, did it work?
Title: Re: Dialog MI style
Post by: zeta_san on Fri 21/08/2020 11:08:59
I'll try later
Title: Re: Dialog MI style
Post by: zeta_san on Fri 21/08/2020 16:12:59
Quote from: Khris on Fri 21/08/2020 10:32:57
No problem, did it work?

it works great