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
Fadein help
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#37
RE: Timer help

(01-11-2012, 10:45 PM)eagledude4 Wrote:
(01-11-2012, 10:43 PM)Statyk Wrote: How hard is your timer??

//____________________

void OnStart()
{
FadeIn(5);
AddTimer("", 5, "Timer_function");
}

void Timer_function(string &in asTimer)
{
//functions go here
}


//_________________

Timer, done in 5 seconds.

I already have that >.>

AddTimer("FadeTimer", 5, "StartGame");

void StartGame(string &in asTimer) {
    SetPlayerActive(true);
}

I didn't ask you to make a timer for me, I'm asking what's wrong with mine.
void OnStart()
{
AddTimer("FadeTimer", 5, "StartGame");
FadeOut(0);
}


void StartGame(string &in asTimer)
{
SetPlayerActive(true);
FadeIn(1);
}


//It should look JUST like that.
01-11-2012, 10:58 PM
Find


Messages In This Thread
Fadein help - by eagledude4 - 01-02-2012, 06:03 PM
RE: Timer help - by Statyk - 01-02-2012, 06:16 PM
RE: Timer help - by Your Computer - 01-02-2012, 08:38 PM
RE: Timer help - by eagledude4 - 01-02-2012, 11:09 PM
RE: Timer help - by eagledude4 - 01-03-2012, 12:39 AM
RE: Timer help - by Your Computer - 01-03-2012, 02:37 AM
RE: Timer help - by Statyk - 01-03-2012, 02:08 AM
RE: Timer help - by eagledude4 - 01-03-2012, 03:55 AM
RE: Timer help - by Statyk - 01-03-2012, 04:01 AM
RE: Timer help - by eagledude4 - 01-03-2012, 04:04 AM
RE: Timer help - by Statyk - 01-03-2012, 04:16 AM
RE: Timer help - by eagledude4 - 01-03-2012, 05:34 AM
RE: Timer help - by Statyk - 01-03-2012, 09:16 PM
RE: Timer help - by eagledude4 - 01-05-2012, 12:59 AM
RE: Timer help - by Your Computer - 01-03-2012, 09:14 PM
RE: Timer help - by Statyk - 01-05-2012, 02:03 AM
RE: Timer help - by eagledude4 - 01-05-2012, 02:09 AM
RE: Timer help - by Statyk - 01-05-2012, 02:21 AM
RE: Timer help - by eagledude4 - 01-05-2012, 02:25 AM
RE: Timer help - by flamez3 - 01-05-2012, 03:43 AM
RE: Timer help - by Statyk - 01-05-2012, 03:49 AM
RE: Timer help - by flamez3 - 01-05-2012, 03:54 AM
RE: Timer help - by eagledude4 - 01-05-2012, 05:21 AM
RE: Timer help - by flamez3 - 01-05-2012, 05:29 AM
RE: Timer help - by eagledude4 - 01-05-2012, 05:36 AM
RE: Timer help - by flamez3 - 01-05-2012, 05:57 AM
RE: Timer help - by eagledude4 - 01-05-2012, 05:58 AM
RE: Timer help - by eagledude4 - 01-11-2012, 10:01 PM
RE: Timer help - by Statyk - 01-11-2012, 10:15 PM
RE: Timer help - by eagledude4 - 01-11-2012, 10:40 PM
RE: Timer help - by Statyk - 01-11-2012, 10:43 PM
RE: Timer help - by eagledude4 - 01-11-2012, 10:45 PM
RE: Timer help - by Statyk - 01-11-2012, 10:58 PM
RE: Timer help - by eagledude4 - 01-11-2012, 11:01 PM
RE: Timer help - by Statyk - 01-11-2012, 11:13 PM
RE: Timer help - by eagledude4 - 01-13-2012, 03:36 AM
RE: Timer help - by Statyk - 01-11-2012, 10:48 PM
RE: Timer help - by eagledude4 - 01-11-2012, 10:49 PM
RE: Timer help - by Statyk - 01-11-2012, 10:50 PM
RE: Timer help - by eagledude4 - 01-11-2012, 10:52 PM



Users browsing this thread: 3 Guest(s)