Frozenhelfir
set Gwypaas = Guhveepaws
- Reaction score
- 56
I have an item designed to make units move faster than 522. I'm trying to think of an efficient way to do this, which involves pathfinding. I.E. the unit must move to its destination just as if any other unit would, only this one would be going faster than 522. I have one idea, but I'd like to get some input on this and/or a better method.
My current idea is to 'bump' the unit as it moves. This would involve me SetUnitX/Y in small increments to make it look smooth in the direction the unit is facing. Doing it this way will hopefully work as the unit will turn as if it were moving normally, giving proper direction. Is there a better way of moving the unit? It can't pass over structures, doodads, or cliffs.
My current idea is to 'bump' the unit as it moves. This would involve me SetUnitX/Y in small increments to make it look smooth in the direction the unit is facing. Doing it this way will hopefully work as the unit will turn as if it were moving normally, giving proper direction. Is there a better way of moving the unit? It can't pass over structures, doodads, or cliffs.