Quote:
Originally Posted by Loriel
Yeah, pretty much that. I did not know we had scheduleevent, this is pretty cool. So setTimer(x) is just schedulevent(x, "Timeout", null)?
|
If you look closely at the script I made, you can schedule any number of timers, named whatever you want. They won't interfere with one another. The one in my script calleds the function onUpdate() every .05 seconds. It could easily be done with any other function I imagine. The function is part of a TStaticVar.
In the same script it's possible to create hundreds of bars (prabably some slowdown X.x) but they all update independently of eachother as separate TStaticVar objects.