Thread: Shorten
View Single Post
  #28  
Old 01-31-2002, 09:07 PM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
Quote:
Originally posted by Slaktmaster
Kyle's shortened version was nice and compact but won't work when turning that script into a baddy or whatever it will be because it has sleep in the for loop.
Well, you could keep a variable for the animation step and increment and set it every 10 timeouts (.3 * 10 = 3, which is the sleep). I'd have done that if I'd have known you wanted to eliminate the use of sleep in your script...but sometimes the sleep command can be useful, so I left it.
Reply With Quote