• 🏆 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!

Help with "damage taken" event

Status
Not open for further replies.
Level 1
Joined
Jul 5, 2005
Messages
1
Here's pretty much what I did using world editor unlimited:

Event:
- Any unit takes damage (advanced event)
Conditions:
- The unit taking damage is the specific hero
Actions:
- Set Variable (damage taken) = damage taken
- Game display test (real > integer > string) (damage taken)

Somehow, it gives me 0.00 or sometimes it doesn't give anything at all, please help me out here.

I just want a specific variable to store the data of all the damage taken by a particular hero.

If there is a way, please tell me, I hate using the world editor unlimited, keeps giving me all these errors when I put on advanced triggers. I'm willing to start fresh but as long as i get that particular trigger right!

Thanks in advance!
 
Status
Not open for further replies.
Top