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
Making a scream play when player enters a room?
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#36
RE: Making a scream play when player enters a room?

Nah, leave the timer in there, except its missing the function name for the 3rd parameter, the FadeIntro you have it just a random name or something. Then, in that new function, you would put in FadeIn(3).

I would put a FadeOut(0) in that function too, so it starts off black. That's what I did for now, anyway. So like:
void OnStart()
{
   AddTimer("FadeIntro", 0, "FadeIntro");
}

void FadeIntro(string &in asTimer)
{
   FadeOut(0);
   FadeIn(3);
}
03-23-2011, 05:19 PM
Find


Messages In This Thread
RE: Making a scream play when player enters a room? - by MrBigzy - 03-23-2011, 05:19 PM



Users browsing this thread: 1 Guest(s)