Page 1 of 1

play dialogue once only

Posted: Mon Nov 15, 2021 12:24 pm
by hrohibil
Hello

I have a PC monitor, when player gets into the trigger the dialoge starts.
Is it possible to only play this once? Right now as he enter the trigger zone it keeps playing because he is already inside the trigger area...

Re: play dialogue once only

Posted: Mon Nov 15, 2021 12:52 pm
by Tony Li

Re: play dialogue once only

Posted: Mon Nov 15, 2021 1:55 pm
by hrohibil
Perfect.. Thanks

A side question:
As this is more a message or like game instructions what would you recommend?

Right now it’s just a text up in the top bar.

If I want to slow down the text speed, make it more in the Center then in the top, is it possible to customise it like that for just this “conversation”??
I am using the sci-fi prefab as it suits more my game but maybe for this kind you suggest something else??
Kind regards Hamid

Re: play dialogue once only

Posted: Mon Nov 15, 2021 2:03 pm
by Tony Li
If it's a short message, you can show it as an alert instead.

To do this, on your Dialogue System Trigger select Add Action > Show Alert.

Re: play dialogue once only

Posted: Mon Nov 15, 2021 4:05 pm
by hrohibil
No it is actually not that short as it tells the player in the beginning some key concepts of the game...

How do i control speed in a specific conversation?

Re: play dialogue once only

Posted: Mon Nov 15, 2021 4:50 pm
by Tony Li
What do you mean by speed? The speed of the typewriter effect? Or the duration of the subtitle? To control the duration of the subtitle, you can set the dialogue entry node's Sequence field to something like:
  • Sequence: Delay(3)
to delay for 3 seconds.

To control the typewriter speed, you can:

1. Set up another subtitle panel. Set its typewriter's Characters Per Second to a faster value. Include [panel=#] in your Dialogue Text to tell the dialogue entry node to use this panel.

2. Or control the default subtitle panel's typewriter effect by script.