- Joined
- Feb 12, 2012
- Messages
- 413
This library is a cool one.
Using
One thing is: It have a limitation is only have periodic timer >= 0.1s.
JASS:
library LoopTest initializer Init
private function Init takes nothing returns nothing
local integer myInteger=0
loop
exitwhen false
call TriggerSleepAction(.1)
set myInteger=myInteger+1
call BJDebugMsg(I2S(myInteger))
endloop
endfunction
endlibrary
Using
TriggerSleepAction
isn't a good idea to do with, but is this safe?, this will work perfectly in javascript, C/C#/C++, etc.., but how about that on WE ..One thing is: It have a limitation is only have periodic timer >= 0.1s.
Last edited: