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?
goodcap Offline
Member

Posts: 193
Threads: 112
Joined: Jun 2012
Reputation: 3
#6
RE: How to make an intro?

(11-30-2013, 08:01 PM)RaideX Wrote: You forgot to use the function to fade the screen to normal again Big Grin
You should change your code to something similar to this:
PHP Code: (Select All)
void OnStart()
{
FadeOut(0);
AddTimer("Opening"5.0f"OpeningIntro");
}

void OpeningIntro(string &in asTimer)
{
AddEffectVoice("record_music.ogg""EffectToPlay""TextCategory""TextEntry"true"TheEntityWhereTheSoundOriginates"110);
AddTimer("EndOpening"x.xf"FadeIn"); //x.x depends on how long your intro is (time till fadein starts)
}
void FadeIn (string &in asTimer) {
FadeIn(x.xf); //x.x is how long it takes to go from black to normal

Hope understand everything i've written. I tried explaining it a bit simple c:

Thanks so much, dude. It works now Smile
Could help me with something else please, I want to make it that when you enter a certain area a message pops up.
12-01-2013, 12:32 AM
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)