Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make an intro?
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#3
RE: How to make an intro?

Here's your script. The Voice must have the Background Music added on it's .ogg file. If I recall correctly.

PHP Code: (Select All)
void OnStart()
{
FadeOut(0);
AddTimer("Opening", 5.0f, "OpeningIntro"); //5.0f is how long the voice will start
}

void OpeningIntro(string &in asTimer)
{
AddEffectVoice("VoiceFile.ogg", "EffectToPlay", "TextCategory", "TextEntry", true, "TheEntityWhereTheSoundOriginates", 1, 10);
} 

"Veni, vidi, vici."
"I came, I saw, I conquered."
11-29-2013, 01:52 PM
Find


Messages In This Thread
How to make an intro? - by goodcap - 11-29-2013, 12:40 PM
RE: How to make an intro? - by RaideX - 11-29-2013, 01:29 PM
RE: How to make an intro? - by PutraenusAlivius - 11-29-2013, 01:52 PM
RE: How to make an intro? - by goodcap - 11-30-2013, 05:49 PM
RE: How to make an intro? - by RaideX - 11-30-2013, 08:01 PM
RE: How to make an intro? - by goodcap - 12-01-2013, 12:32 AM
RE: How to make an intro? - by RaideX - 12-01-2013, 10:50 AM



Users browsing this thread: 1 Guest(s)