I have been working on game dialogue (non-interactive, i.e. the player gets no choice in how to respond).
The way I have been working so far is by creating a separate invisible object (Stgwhsp, as in stage whisperer) that caries the necessary variables (which dialogue to fire off, where to place the text object etc). This allows me to call dialogue between characters, as well as banter between player 1 and two, as they overlap with the "Stghsp" object.
Here's the question though. I would like for the banter to fade out on its own. The player won't have time to manually further the dialogue, as the game doesn't stop for banter, only for "cinematic" dialogue sections.
So, I'm familiar with the fade behaviour, but I would like for short text ("hey you!") to fade out faster than long text ("When I was a boy, my dad used to say: "Hold ma drink boay!").
Have the words/characters in the text object counted and set text object's fade out to a lenght of time it would take to read each word/character.
Any ideas how to do this / alternative approach?