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
A little understanding needed...
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#8
RE: A little understanding needed...

You could also use:

AddTimer("Timer_"+RandInt(1, 4), 3, "Timer");


void Timer(string &in asTimer)
{
if(asTimer == Timer_1)
{
Event_1();
}


if(asTimer == Timer_2)
{
Event_2();
}


if(asTimer == Timer_3)
{
Event_3();
}


if(asTimer == Timer_4)
{
Event_4();
}
}

Trying is the first step to success.
09-10-2012, 08:42 AM
Find


Messages In This Thread
A little understanding needed... - by KingWolf - 09-10-2012, 08:03 AM
RE: A little understanding needed... - by Robby - 09-10-2012, 08:10 AM
RE: A little understanding needed... - by Adny - 09-10-2012, 08:11 AM
RE: A little understanding needed... - by Robby - 09-10-2012, 08:16 AM
RE: A little understanding needed... - by Robby - 09-10-2012, 08:25 AM
RE: A little understanding needed... - by FlawlessHappiness - 09-10-2012, 08:42 AM
RE: A little understanding needed... - by Robby - 09-10-2012, 08:43 AM



Users browsing this thread: 1 Guest(s)