How to properly move structure (with pathing map)?
SetUnitX/Y: does not refresh ground texture graphics; does not refresh unit graphics in case of gold mine.
SetUnitPosition: highly broken -- tend to move structure unnecessarily. e.g. SetUnitPosition(u, GetUnitX(u), GetUnitY(u)) moves gold mines on stock melee map Lost Temple.
ShowUnit(false) & ShowUnit(true): sort of like SetUnitPosition, but with additional fading/transition animation.
I want to have the effect of SetUnitX/Y plus unbreak the graphics.
SetUnitX/Y: does not refresh ground texture graphics; does not refresh unit graphics in case of gold mine.
SetUnitPosition: highly broken -- tend to move structure unnecessarily. e.g. SetUnitPosition(u, GetUnitX(u), GetUnitY(u)) moves gold mines on stock melee map Lost Temple.
ShowUnit(false) & ShowUnit(true): sort of like SetUnitPosition, but with additional fading/transition animation.
I want to have the effect of SetUnitX/Y plus unbreak the graphics.
Last edited: