I'm working on a camera system and my doubt is about how I'll do the periodic call.
Should I use
or
?
Which one is better and why? And which one is faster (if there's difference)?
I'm kinda new on vJASS, I used to work with jass, but I felt limited then I started learning vJASS to expand my codes.
Should I use
JASS:
function TriggerRegisterTimerEventPeriodic takes trigger trig, real timeout returns event
or
JASS:
native CreateTimer takes nothing returns timer
Which one is better and why? And which one is faster (if there's difference)?
I'm kinda new on vJASS, I used to work with jass, but I felt limited then I started learning vJASS to expand my codes.