[General] How to make unit move fast

Status
Not open for further replies.

EdgeOfChaos

E

EdgeOfChaos

There is no way to do this using only the Object Editor.
The only way I can think to do it with triggers is that when a unit is moving, you use the SetUnitX and SetUnitY jass functions to make it go a little farther every 0.03 seconds or so than it normally would have gone.
 
Level 4
Joined
May 9, 2015
Messages
70
There is no way to do this using only the Object Editor.
The only way I can think to do it with triggers is that when a unit is moving, you use the SetUnitX and SetUnitY jass functions to make it go a little farther every 0.03 seconds or so than it normally would have gone.

move unit x to unit y per sec does this make leaks 0.03 is very fast
 
If you have JassNewGenPack, feel free to give this system a shot:
http://www.hiveworkshop.com/forums/spells-569/movespeedx-gui-v1-1-0-0-a-207607/

It'll allow you to use the normal GUI function to set a unit's movement speed without a real limit (but it starts to get glitchy above 1000). e.g. if you copy the system into your map (follow the instructions in the comments), then setting a unit's speed is as easy as:
  • Unit - Set (Triggering unit) movement speed to 1000
The drawback is that it has issues with group orders and that it does not factor in movement speed bonuses (e.g. if you have boots of speed + 1000 movement speed, it'll still treat it as 1000 movement speed). I think I had a version that worked with group orders at the cost of extra performance, but I never uploaded it. The movement speed bonus issue would have to be handled on a map-by-map basis. But feel free to try it yourself and see if it suits your purposes.
 
Status
Not open for further replies.
Top