play dialogue once only

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
hrohibil
Posts: 358
Joined: Thu Nov 04, 2021 12:50 pm

play dialogue once only

Post 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...
User avatar
Tony Li
Posts: 21068
Joined: Thu Jul 18, 2013 1:27 pm

Re: play dialogue once only

Post by Tony Li »

hrohibil
Posts: 358
Joined: Thu Nov 04, 2021 12:50 pm

Re: play dialogue once only

Post 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
User avatar
Tony Li
Posts: 21068
Joined: Thu Jul 18, 2013 1:27 pm

Re: play dialogue once only

Post 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.
hrohibil
Posts: 358
Joined: Thu Nov 04, 2021 12:50 pm

Re: play dialogue once only

Post 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?
User avatar
Tony Li
Posts: 21068
Joined: Thu Jul 18, 2013 1:27 pm

Re: play dialogue once only

Post 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.
Post Reply