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
Newbie needs help scripting
Austums Offline
Member

Posts: 60
Threads: 11
Joined: Mar 2011
Reputation: 0
#11
RE: Newbie needs help scripting

Here DrQuackinducks, this is what my script looks like. This should help you out if you're confused at all.

void OnEnter()
{
AddTimer("FadeIntro", 0, "FadeIntro");
}

void FadeIntro(string &in asTimer)
{
FadeOut(0);
FadeIn(6);
}

OnEnter() means that when the player enters the map, the functions in the brackets happen. I added a timer called "FadeIntro" with 0 seconds as the time. void FadeIntro(string &in asTimer) is just linking the Timer and the Intro together.

Hope this helps!
03-31-2011, 05:09 PM
Find


Messages In This Thread
Newbie needs help scripting - by DrQuackinducks - 03-30-2011, 08:36 PM
RE: Newbie needs help scripting - by Russ Money - 03-30-2011, 09:59 PM
RE: Newbie needs help scripting - by nkmol - 03-30-2011, 10:04 PM
RE: Newbie needs help scripting - by MrBigzy - 03-31-2011, 03:29 AM
RE: Newbie needs help scripting - by Russ Money - 03-31-2011, 03:43 AM
RE: Newbie needs help scripting - by MrBigzy - 03-31-2011, 04:49 AM
RE: Newbie needs help scripting - by Russ Money - 03-31-2011, 05:06 AM
RE: Newbie needs help scripting - by nkmol - 03-31-2011, 06:07 AM
RE: Newbie needs help scripting - by MrBigzy - 03-31-2011, 11:39 AM
RE: Newbie needs help scripting - by Austums - 03-31-2011, 05:09 PM



Users browsing this thread: 1 Guest(s)