HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Movement speed display

01-17-2008, 02:40 PM#1
Skurai
I tried but failed. Can some1 show me the exact triggers to display movement speed as text pls. I tried but got a 0.00 ms lol. I cant seem to find it on search as well.


Btw is there a bug for the trigger when a unit has a specific buff or does it just not work with cloak of flames?

Thanks.
01-17-2008, 03:01 PM#2
MaD[Lion]
Collapse JASS:
call BJDebugMsg(R2S(GetUnitMoveSpeed(unit))+"ms")

or GUI:

Trigger:
Game - Display to (All players) the text: (String((Current movement speed of (Triggering unit))))
01-17-2008, 03:02 PM#3
zen87
Collapse JASS:
constant native GetUnitMoveSpeed    takes unit whichUnit returns real

Hmph...
01-17-2008, 08:03 PM#4
Skurai
It works, thanks :)