• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

SetUnitPosition + PauseUnit vs SetUnitX/Y

Status
Not open for further replies.
I need to know which is faster. I know that SetUnitX/Y is faster because there are no pathing checks, but I've also heard that doing SetUnitPosition on a unit that's paused is even faster. Can anyone confirm or deny that?

If you're wondering if it's worth risking pausing a unit for SetUnitPosition, it's for dummy units carrying special effects around, so I can safely pause them without them getting killed and bugging out.
 
Level 19
Joined
Dec 12, 2010
Messages
2,069
the only way you'd like to use SetUnitPos is when you have to make sure it won't stuck (playable hero f.i.)
for dummies use X/Y without any doubts

The only time you want SetUnitPosition is if you want an effect such as Locusts being able to be enumerated by unit groups.

actually due to Stop order it will break Locust units but won't make them group-able.
 
Status
Not open for further replies.
Top