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
Script Help Beggining and ending credits help
Laurensman Offline
Junior Member

Posts: 21
Threads: 2
Joined: Oct 2011
Reputation: 0
#3
RE: Beggining and ending credits help

(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.
(This post was last modified: 11-01-2011, 11:43 PM by Laurensman.)
11-01-2011, 11:29 PM
Find


Messages In This Thread
Beggining and ending credits help - by Laurensman - 11-01-2011, 06:37 AM
RE: Beggining and ending credits help - by Laurensman - 11-01-2011, 11:29 PM



Users browsing this thread: 1 Guest(s)