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

Trigger Help, Please!

Status
Not open for further replies.
Level 2
Joined
May 19, 2008
Messages
18
I made a trigger:

Blood Crazy
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacked unit)) Equal to Rexxar
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Percentage life of (Attacked unit)) Less than or equal to 20.00
Then - Actions
Unit - Set life of (Attacked unit) to ((Percentage life of (Attacked unit)) + 15.00)%
Else - Actions
Do nothing

How can I make the trigger to activate when Rexxar takes damage from other sources, and not just basic attacks?
I used "Fire Bolt" on him and the trigger didn't activated.
Help please.
Thank You!
 
Last edited:
Level 18
Joined
May 11, 2012
Messages
2,103
youuuuu, ma friend...
Will need to use Damage Detection System.
Lemme find one xD

Here it is: DDS

when you properly import it into your map, do next:

replace the event with: damageEventTrigger becomes equal to 1.00
and change all ''attacked unit'' with variable ''target''.
 
Level 2
Joined
May 19, 2008
Messages
18
I plaied the map a little, and i noticed something, I do not need the text display or other things, I just need that my trigger to activate when Rexxar recives damage from all the sources, and not just basic attack.
It should be something like checking conditions, but i dont know how to work with them :(
 
Level 18
Joined
May 11, 2012
Messages
2,103
I plaied the map a little, and i noticed something, I do not need the text display or other things, I just need that my trigger to activate when Rexxar recives damage from all the sources, and not just basic attack.
It should be something like checking conditions, but i dont know how to work with them :(

nonono....
The text is just example.... you don't need to import that...
Please, handle me the map and I will make it for you completely in 1 min
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
You can delete the OnDamage trigger, then use this kind of trigger:
  • OnDamage Copy
    • Events
      • Game - damageEventTrigger becomes Equal to 1.00
    • Conditions
      • (Unit-type of target) Equal to Beastmaster
      • (Percentage life of target) Less than 20.00
    • Actions
      • Unit - Set life of target to...
 
Status
Not open for further replies.
Top