Having recently purchased Adventure Creator, one of the features I've been enjoying is the subtitles and their various settings. Something I've been wondering however, is if settings like scroll speed, typing voice, and color can be actively changed during speech. For example, if I'm making a game where characters mostly speak through text, I'd like to change the speed and voice of their text scroll based on the tone or scenario (slower text implying slower speech). Not only that, but while you can change the color of each speaker's text, I'd like to change the color of specific sections of text, such as keywords to hint the player of something important like and item.
Comments
AC's speech system supports Unity's Rich Text feature - the link shows you how you can use tags to re-colour individual characters/words.
The speech system also supports tokens like [wait:1] that, when inserted into the subtitle text, causes the scrolling to pause. While you could do that in-between every character to slow the text down, you'd be better off writing a custom Action that you can use to set the scroll speed / typing voice / basically control any property before each Dialogue: Play speech Action.
A tutorial on writing custom Actions can be found here.
To control the scroll-speed, you want to set this value:
AC.KickStarter.speechManager.textScrollSpeed = 10f;
That link will take you to the property's entry in the Scripting Guide, which can be used to find out all of AC's public variables. The front page of the Scripting Guide explains how you can access each of AC's scripts.
I have just discovered rich text feature. Mind. Blown!!!!