HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help Whit Movements limits

12-15-2008, 01:07 PM#1
Dass PwNaGe
Hei this is my first post... so if im breaking some rule, then tell me so i wont do it again.

i am making a race map, where you have a hero to run whit... but i cant make him faster than 300 he will still move from one spot to another at the same speed.

i tried to give a hero 100000 in movement speed and the other one i gave 500they run whit the same speed. i have tried to go ind to gameplay constante and edit the movement speed from 300 to 100000 but didn't work eiter

can someone plizz help me
12-16-2008, 12:17 AM#2
Bobo_The_Kodo
522 is max
12-16-2008, 02:09 AM#3
Ammorth
Anything faster will cause the wc3 pathing engine to shit itself, hence the hard-limit.
12-16-2008, 06:05 AM#4
midiway
the only way to get higher speeds is moving the unit with SetUnitXY (or similars) in a periodic timer
12-16-2008, 09:43 AM#5
Dass PwNaGe
Oki i will try take a look at it. thx for the help
12-16-2008, 05:57 PM#6
Zerzax
Try this: You can simulate actual movement by using a periodic timer, with a rate of 750 units per second or something like that. The interval is going to have to be low if you actually want it to look smooth, something like 0.01 seconds I think. At the same time, use SetUnitAnimationByIndex with the unit's "walk" animation index and it will actually look like the unit is running. The problem is, I don't think any triggers will register your units entering a region fast enough to execute what you want. So you'll have to check if its in a region or something like that at each interval... I think its perfectly doable in GUI.