The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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 Problem with timing script...
MissMarilynn Offline
Member

Posts: 77
Threads: 23
Joined: Oct 2011
Reputation: 1
#1
Problem with timing script...

void OnStart()


{
FadeOut(0);
AddTimer("", 4, "intro1");
}

void intro1(string &in asTimer)
{
SetMessage("Intro", "Beginning", 5);
AddTimer("", 6, "intro2");
}

void intro2(string &in asTimer)
{
SetMessage("Intro", "Beginning2", 5);
AddTimer("", 6, "intro4");
}

void intro4(string &in asTimer)
{
SetMessage("Intro", "Beginning3", 5);
AddTimer("", 6, "intro3");
}

void intro3(string &in asTimer)
{
FadeIn(2);
}




It says there is a unexpected "{" Somewhere but it all looks fine to me...suggestions?
01-10-2012, 12:48 AM
Find


Messages In This Thread
Problem with timing script... - by MissMarilynn - 01-10-2012, 12:48 AM
RE: Problem with timing script... - by flamez3 - 01-10-2012, 01:04 AM
RE: Problem with timing script... - by flamez3 - 01-10-2012, 02:25 AM
RE: Problem with timing script... - by Statyk - 01-10-2012, 03:18 AM
RE: Problem with timing script... - by flamez3 - 01-10-2012, 03:28 AM
RE: Problem with timing script... - by flamez3 - 01-10-2012, 04:22 AM
RE: Problem with timing script... - by flamez3 - 01-10-2012, 05:07 AM
RE: Problem with timing script... - by flamez3 - 01-10-2012, 06:03 AM
RE: Problem with timing script... - by Khyrpa - 01-10-2012, 06:15 AM
RE: Problem with timing script... - by flamez3 - 01-10-2012, 06:19 AM



Users browsing this thread: 1 Guest(s)