Thread: scheduleEvent
View Single Post
  #3  
Old 10-20-2006, 10:30 PM
contiga contiga is offline
Graal2001 Administration
contiga's Avatar
Join Date: Jul 2004
Location: Netherlands
Posts: 419
contiga is an unknown quantity at this point
Send a message via ICQ to contiga Send a message via AIM to contiga Send a message via MSN to contiga Send a message via Yahoo to contiga
That's not what I ment, I mean..
Lets say in my bomb, I did;
scheduleEvent( 5, "explode", "");

And I am going to pick it up, after for example.. 2 seconds, I want something to say that it still has 3 seconds left before it's going to explode. But since it is serverside, I don't want to use a timeout to count that, due the lag it will give. Neither I want to use a timeout on clientside, since there are sleep() commands being used there.

So, basically.. I'm looking for some command that gives the time left, before the first time an event gets started (something like; getEventData( "function"); which returns the time left untill it would be started, and the params).

Is this possible?
__________________
AIM: Contiga122
MSN: [email protected]
Status:
Quote:
Originally Posted by unixmad View Post
I am also awake 3AM to help correct problems.
Quote:
Originally Posted by Bomy Island RC people
Daniel: HoudiniMan is a bad guy =p
*Bell: rofl. I first read that as houdini is a bad man. like the little kid that wants his mommy to keep her away from that boogie man
Daniel: xD
*Rufus: I wouldn't want my kids around him.
Reply With Quote