Frictional Games Forum (read-only)

Full Version: Intro?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Short question... How to I make an intro for my story?

I want a blackscreen with text that comes up (like a bla bla bla story...(fade) it's called bla bla bla (fade) and so on)... And I also want music to play then..

And when the blackscreen is done it will fade to my first start map, and I want the music to fade...

Thx.
put these in OnStart function:
PlayMusic(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume);
FadeOut(0);
Then use timers to trigger these:
SetMessage(string& asTextCategory, string& asTextEntry, float afTime);
And to stop the music use this:
StopMusic(float afFadeTime, int alPrio);
Thank you so much! Smile