• 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.

[Trigger] Problem with WEU and damage source

Status
Not open for further replies.
Level 1
Joined
Aug 31, 2007
Messages
3
Hi there,

i'm triggering a little system, that displays every hit/heal/spell-damage via floating text.

by now it works quite well for every map i tested it on, but now i want to specialize it to a certain RPG-map.

i want to make a difference between normal units and heroes.

by now its not interesting WHAT makes the difference, i just want two seperate triggers for them.

as event i use the "any unit takes damage"-event of we unlimited.

the condition to seperate units and heroes would be a unit-comparison using the event-repsonse "damage source" that SHOULD response to the event.

But... it just WONT!


is there a known issue, why this comparison isnt working as its intented to do?

I tested the comparison in several dummy-triggers, but icant force it to workin ANY way.


plz help me =) i havent worked on wc3-stuff for quite a long time, but its so much fun,and i dont want to be stopped by such a stupid problem =)
 
Level 1
Joined
Aug 31, 2007
Messages
3
Its kind of simple :smile:

  • ((Damage source) is A Hero) Equal to True

(this is an Boolean Comparison)

Ok,now my Trigger for normal units looks like:

  • ((Damage source) is A Hero) Equal to False
...

ok, so if this would work right, the heros should NOT hit this trigger, aye?

but... he does... i'll atach my lil script with the melee-dmg-part so if anyone could be so kind,and check it... i would <3 em!
 

Attachments

  • display_everything.w3x
    366.2 KB · Views: 58
Level 1
Joined
Aug 31, 2007
Messages
3
@AlexM

I removed the hero-damage-trigger from the game, to test the excluding of the heroes,by using the damage source event response. But as u can see, it does not work.

I just don't know why, and that's why i'm posting here =)

I havent worked on that splash-damage issue by now,but i think its a problem,that several units take damageat EXACT the same moment,and the trigger wont get the right units while checking who got damaged. I'llwork on that later.

plz help me out! how can i check if a heroor a unit is attacking ?

im getting angry at that stupid damage source =)
 
Status
Not open for further replies.
Top