Everyone says that, BUT WORKS.Use the second one (there is no point to use a timer for this).
Also change the 'Casting Unit' to 'Triggering Unit', as casting unit doesn't work after waits.
function Blahblah_Child takes nothing returns nothing
call DestroyTimer(GetExpiredTimer())
//do stuff
endfunction
function BlahBlah takes nothing returns nothing
call TimerStart(CreateTimer(),.5,false,function Blahblah_Child)
endfunction
But the problem is, I'm not very good with JASS.
So I will need someone to convert all my triggers that use waits to Jass for me...
I red that game time is more accuraty but leaks more.On the subject of waits, I noticed there are two types of waites in GUI. Game time seconds and real time seconds, or something like that. I don't clearly remember the names.
What is the difference between the two? Is one better for using in multiplayer maps than the other?