Dialog MI style

Started by zeta_san, Thu 20/08/2020 08:38:17

Previous topic - Next topic

zeta_san

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

heltenjon

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

zeta_san

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

Khris

In  game_start, add this:

Code: ags
  game.show_single_dialog_option = 1;

zeta_san

Quote from: Khris on Thu 20/08/2020 12:10:12
In  game_start, add this:

Code: ags
  game.show_single_dialog_option = 1;


Thanks

zeta_san

 :cry: there is no such option on the Tumbleweed theme

morganw

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.

zeta_san

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?

Matti

As Khris said, put it in game_start, in Global Script.

zeta_san

Khris
I'm sorry I didn't read the post correctly

Khris

No problem, did it work?

zeta_san


zeta_san


SMF spam blocked by CleanTalk