View Single Post
  #1  
Old 07-18-2013, 07:05 AM
i8bit i8bit is offline
Registered User
Join Date: Jul 2013
Posts: 146
i8bit is an unknown quantity at this point
alternative to sleep()

Is there an alternative function instead of doing let's say this:

PHP Code:
function onCreated(){
 
this.chat "Set 1";
 
sleep(1);
 
this.chat "Set 2";
 
sleep(1);
 
this.chat "Set 3";
 
sleep(1);
 
this.chat "Set 3";

I'm scripting a baddie and I have an attack skill that does multiple damage functions set up similar to what's above. But my baddie glitches in weird ways when ever I use sleeps() so I was wondering if there were any alternatives to write what I have.

I need an
Action()
Wait(0.2)
Action()
Wait(0.2)
so on
Reply With Quote