Quote:
Originally posted by GoZelda
But Kaimetsu, if i were to create a NPC that would make the level slightly darker every 0.05 seconds, then wouldn't a for loop with sleep be the best solution?
|
No.
Quote:
Originally posted by GoZelda
Yes, but what if i'd wanted to repeat my action? In my "nice" example above, it'd repeat without trouble. How would it work with timeout? You can save some trouble with a sleep for loop. And i don't really see what's wrong with sleep :/
|
Too many things to list. If you can't think of an easy way to do it with timeout, you shouldn't call yourself a scripter.