slide trigger?

Status
Not open for further replies.
i do think you should use setUnitX(udg_unit, udg_RealX)
and setUnitY(udg_unit, udg_RealY), since some sliding map needs spell casting, and using setUnitX and Y doesn't interupt spellcasting, or any other channeling or commands.

and its a lot faster. xD.

but since it works just fine right now, i guess that should do.
 
i do think you should use setUnitX(udg_unit, udg_RealX)
and setUnitY(udg_unit, udg_RealY), since some sliding map needs spell casting, and using setUnitX and Y doesn't interupt spellcasting, or any other channeling or commands.

and its a lot faster. xD.

but since it works just fine right now, i guess that should do.
...That's JASS, not GUI.
And if you want to do what you're doing, then you might as well want to turn everything in JASS, as the entire ITE is also inefficient in GUI. And while you're on it: polar projection: hideous! Math functions are a lot more gorgeous.

I only code in JASS, using locations is so outdated :P


But yeah, this is GUI, leave it in GUI. I dislike half-breeds. (So when I talk about 'efficiency' in a GUI system, I'm talking about GUI-only - aside from leak removal).
 
Status
Not open for further replies.
Back
Top