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

[Solved] The enemy final words: I EXPLODE THIS PLACE

Status
Not open for further replies.
I need to create a scane where the enemy speaks after its death, should I use "unit died" Action "make unit invulnerable" or instead "remove unit, create new unit, make new unit health low, make unit invulnerable"
in other words, does making a unit invulnerable upon its death make it possible to prevent the death?
What is the most suitable trigger for this?
Please teach me
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
www.hiveworkshop.com/forums/spells-569/gui-damage-engine-v2-2-1-0-a-201016/
+
  • Prevent Death
    • Events
      • Game - DamageModifierEvent becomes Equal to 1.00
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (DamageEventAmount - (Life of DamageEventTarget)) Greater than or equal to 0.41
        • Then - Actions
          • Set DamageEventAmount = 0.00
          • Unit - Set life of DamageEventTarget to 0.41
          • *Here you can become invulnerable*
        • Else - Actions
 
www.hiveworkshop.com/forums/spells-569/gui-damage-engine-v2-2-1-0-a-201016/
+
  • Prevent Death
    • Events
      • Game - DamageModifierEvent becomes Equal to 1.00
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (DamageEventAmount - (Life of DamageEventTarget)) Greater than or equal to 0.41
        • Then - Actions
          • Set DamageEventAmount = 0.00
          • Unit - Set life of DamageEventTarget to 0.41
          • *Here you can become invulnerable*
        • Else - Actions
Ok this is ... I didn't know how to react at first.
Well, good job bringing a huge trigger which I don't need. +rep
I will create new unit instead of create new damage detection sistem for my map, hence create 2 intervals and needless lag for checking conditions.
Unsolved.

Edit: when Arthas killed mountain king, the final enemy which was not a hero, was low hp. I doubt that warcraft 3 raign of chaos team of employers downloaded and imported this system from the site to do it, does anyone knows which method was used?
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
  • Untitled Trigger 081
    • Events
      • Unit - Knight 0000 <gen> Takes damage
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Life of (Triggering unit)) - (Damage taken)) Less than 0.41
        • Then - Actions
          • Unit - Make (Triggering unit) Invulnerable
        • Else - Actions
 
  • Untitled Trigger 081
    • Events
      • Unit - Knight 0000 <gen> Takes damage
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Life of (Triggering unit)) - (Damage taken)) Less than 0.41
        • Then - Actions
          • Unit - Make (Triggering unit) Invulnerable
        • Else - Actions

I will check and post comment, it sounds promissing and I hope it will solve it.

About the admine's answer, I don't need condition check for any damage made, just for a single unit which is the boss, see his new, creative answer to see what we try to make.

Edit: This was a P-E-R-F-E-C-T SOLUTION. THANK YOU SO MUCH
TO ALL OF YOU MAP MAKERS WHO MAKE SCENARIO FOR YOUR MAP, BE SURE TO CHECK THIS
YOU CAN FORCE ANY BOSS INTO NO DEATH AND LAST WORDS, SAY HE GONNA KILL ALL
OR TURN INTO FRIENDLY NONE-KILLER PULSE, ITS JUST PERFECT IDEA

HIGHLY RECOMMANDED TO ADD INTO ANY MAP WHO HAS A STORY

SOLVED :)))))
 
Last edited:
Status
Not open for further replies.
Top