flamez3
Posting Freak
Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation:
57
|
RE: Beggining and ending credits help
(11-01-2011, 11:29 PM)Laurensman Wrote: (11-01-2011, 09:27 AM)flamez3 Wrote: I already did it ^^ Yep lol. But, you did a minor error. The script works and all, but i dont want the map to change after the credits, cuz then the level key just stays in the inventory. So what i did now, is i tried this, on void timer 5, i tried to just make it fade out, instead of making it just switch the map. And its not working. =[
void Timer_1(string&in asTimer)
{
FadeIn(0.1f);
AddTimer("look02", 2.0f, "Timer_2");
}
void Timer_2(string&in asTimer)
{
FadePlayerRollTo(0.0f, 60.0f, 60.0f);
SetPlayerActive(true);
SetPlayerCrouching(false);
}
void Timer_3(string&in asTimer)
{
SetMessage("Messages", "Hint1", 1.9f);
AddTimer("look04", 2.0f, "Timer_4");
}
void Timer_4(string&in asTimer)
{
SetMessage("Messages", "Hint2", 1.9f);
AddTimer("look05", 2.0f, "Timer_5");
}
void Timer_5(string&in asTimer)
{
FadeOut(0.5f);
}
^^^ this is where i want it to fade out. Or do i just put the fade out part in void Timer_4.
Sorry guys, new at Timers. Fade out, fades the screen to normal. Fade in fades the screen to black. I already did fade in in the start. Just remove item when it reaches timer_1 or something.
|
|
11-02-2011, 01:47 AM |
|