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
DrQuackinducks Offline
Junior Member

Posts: 3
Threads: 1
Joined: Mar 2011
Reputation: 0
#12
RE: Newbie needs help scripting

thanks for all your help everyone, problem has been solved and my script is now nearing 200 lines
03-31-2011, 11:13 PM
Find




Users browsing this thread: 1 Guest(s)