Jibble

Author Topic: Voice only wait for mouse click  (Read 136 times)

Voice only wait for mouse click
« on: 14 Jan 2021, 10:29 »
Hi all,
I am using 3.4.3.
when playing a little bit with the "voice and text" / "text only" / "voice only" options during a gameplay I notice that when you choose "Voice Only" the game still waits for you to click on the mouse in order to get back to the game - even when the voice is over...
Its understandable why u need to click when there is a text box or text "Say" but when there is only voice - why is there a need to clck?
Does anyboday knows how to displable the need for a click when only voice is active?

Thanks,
Dariago.

Re: Voice only wait for mouse click
« Reply #1 on: 14 Jan 2021, 11:35 »
Afaik the default behavior is to automatically proceed to the next line of speech when the calculated time has passed or the voice sample ends;
did you change this? Which game template did you use?

Anyway, you need something like
Code: Adventure Game Studio
  1.   Speech.SkipStyle = eSkipKeyMouseTime;
Fail at Floaty Rog' now!  still having to deal with what games are going through

Re: Voice only wait for mouse click
« Reply #2 on: 14 Jan 2021, 12:06 »
Hi,
Thanks for the info.
I am trying to be in a situation where if I choose Voice Only - i sould not wait for any key or mouse.
the game should return automaticly to its regular run when the time passed.

Re: Voice only wait for mouse click
« Reply #3 on: 14 Jan 2021, 12:11 »
This sounds more like either a design flaw or a bug in the engine tbh. Don't think it is supposed to be happening.

Re: Voice only wait for mouse click
« Reply #4 on: 14 Jan 2021, 12:22 »
Hi
So here is some more info:
in the global script under btnVoice_OnClick function I am setting the SkipStyle to be eSkipTime in case the player choose "Voice Only".
and indeed when the character speaks - the game return to the normal run after the speech voice is done.
However - this does not work for Display(). in Display() after the speech voice is done - the game stays in "pause" untill you click on the mouse of keyboard.

Re: Voice only wait for mouse click
« Reply #5 on: 14 Jan 2021, 12:24 »
However - this does not work for Display(). in Display() after the speech voice is done - the game stays in "pause" untill you click on the mouse of keyboard.

That could have been an oversight, Display works different from Say in several ways.

Re: Voice only wait for mouse click
« Reply #6 on: 14 Jan 2021, 13:03 »
yes.. it seems so.
for example:
the Say() turn on the "hour glass" icon and as I said - turned off automaticly when voice speech is done.
the Display() does not turn on any hour glass icon....