Delay a subtitle from showing in code
Posted: Mon Jun 17, 2019 9:34 pm
Hello,
I see that a question was asked about delaying a subtitle but the provided answer is with precreated commands of Dialogue System. How can I control when the subtitle is displayed if I'm making a custom command?
Here is my use-case that I would like to do:
1) Fade-in the text at the same time that the text is writing on screen
2) Enable continue button
3) Press Continue button
4) Fade-out current text
THEN 1) again
The problem that I get now is that upon pressing the continue button, it does not start the fade-out part. In fact, if I do the fade out part before the fade in, most of the text will already be written on screen upon my fade in. I don't really want that. Any way using code to hook some function to the continue button to actually fade out, then call my next dialogue for my fade in to start? Or delay when the text is starting to write on screen upon pressing the continue buttnon?
I see that a question was asked about delaying a subtitle but the provided answer is with precreated commands of Dialogue System. How can I control when the subtitle is displayed if I'm making a custom command?
Here is my use-case that I would like to do:
1) Fade-in the text at the same time that the text is writing on screen
2) Enable continue button
3) Press Continue button
4) Fade-out current text
THEN 1) again
The problem that I get now is that upon pressing the continue button, it does not start the fade-out part. In fact, if I do the fade out part before the fade in, most of the text will already be written on screen upon my fade in. I don't really want that. Any way using code to hook some function to the continue button to actually fade out, then call my next dialogue for my fade in to start? Or delay when the text is starting to write on screen upon pressing the continue buttnon?