It is currently Wed Nov 19, 2008 3:50 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Function SleepUntil(what);
PostPosted: Fri Mar 24, 2006 9:24 pm 
Offline
User avatar

Joined: Fri Feb 10, 2006 8:08 am
Posts: 327
Location: Myrtle Beach, South Carolina
I wanted to try and make or see if there's a way I can Sleep/Pause a script until an action happends. something like; example.

Quote:
SleepUntil( !Who.dead );


Honestly, I have NO CLUE where I'd start for something like that.

Maybe,

While( Who.dead )
Sleep( 1 );
Endwhile

I'm guessing? Haven't tested that.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 25, 2006 1:53 pm 
Offline

Joined: Thu Feb 02, 2006 12:05 pm
Posts: 12
Code:
While( Who.dead )
Sleep( 1 );
Endwhile

can be like that


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl