call SetUnitX(unit, real)
call SetUnitY(unit, real)
Not possible.
What you can do is simulate movement through
JASS:call SetUnitX(unit, real) call SetUnitY(unit, real)
Using those 2 functions moves the unit instantly (similar to a slide trigger) while not interrupting its orders (i.e. attacking)
local unit u=GetLastCreatedUnit()
call SetUnitX(u, real)
call SetUnitY(u, real)
- Unit - Move Unit