• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

damage-meter leaderboard

Status
Not open for further replies.
Level 3
Joined
Jun 30, 2008
Messages
26
hello everybody

i wanted to create a damage-meter leaderboard. the leaderboard should shows the dps (damage per second) of each player. i tried to create this on my own but im absolutely clueless...

ill hope someone can help me :/
 
Level 23
Joined
Oct 12, 2008
Messages
1,783
You will need to...

1) Be able to keep track of damage events. Dedicate an entire system to this if you need.

2) Check when players enter and leave combat. The actual conditions which count for this are up to you.

3) Divide the total damage dealt by the time spent in combat. Ie. dps

With as vague a question as yours this is about all I can say.
 
Level 7
Joined
May 18, 2010
Messages
264
HMHMH
I can help
USE GDD damage detection sistem find in hive
i mean just find it il give u just
Raw triggers just how to do it

Btw u want what dmg he did that second or Max dmg per second he done?

Quote on Kino
why divide whole dmg done and Ie. Dps ? WTF ...
thats so uneficient.

I got kinda rusty :D forgot lots
  • LeaderBoard setup
    • Events
      • Game - GDD_Event becomes Equal to 0.00
    • Conditions
      • ((Triggering unit) is an illusion) Equal to (==) False
    • Actions
      • Set DamageTrack[(Custom value of GDD_DamageSource)] = (Integer(GDD_Damage))
      • You will need to set Custom values of unit... its simple enought u can google it out
  • Track Damage
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Leaderboard - Change the title of (Last created leaderboard) to ((String(DamageTrack[1])) + Damage Done)
      • Set DamageTrack[(Integer A)] = 0
      • And now i dont know what Heroes Units u wana track damage... of all units owned by player or what
      • put in what u want...
      • Btw here Integer A ... i cant find that from 1 - 100 and = 0
 
Status
Not open for further replies.
Top