• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Displaying DPS in the game interface

Status
Not open for further replies.
Level 2
Joined
Apr 15, 2012
Messages
18
Hi Guys

I need some expert advice

How would you go about displaying DPS on the game interface (in the place where damage usually is displayed)?

I thought about writing a JASS function for this but do not know what variables to edit and how to display vars on the game interface.
 
Level 2
Joined
Apr 15, 2012
Messages
18
I don't mind it being displayed to everyone.

I just thought that it would be nice to know the DPS of an opposing hero before you go and confront him :)

Is there no way of doing this without hacking?
 
Level 5
Joined
Dec 13, 2008
Messages
141
Well, unless you want to just have them calculate their dps....
Plus I don't know of anything to return the hero/unit's dmg to a string. Unless all damage was controlled by integers(aka trigger spells)
 
Level 2
Joined
Apr 15, 2012
Messages
18
what is the name of the variable that the game uses to display the hero's damage? Coz i was thinking if you can't display it to everyone you can probably display it just to yourself by using the place where the game interface displays your resources...
 
Status
Not open for further replies.
Top