• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Trigger] Trigger to remove from the game a hero who dies

Status
Not open for further replies.
Level 19
Joined
Jan 12, 2011
Messages
1,537
The trick part is that some heroes have abilities based on tauren chieftain's revive, so I can't just remove a hero once he dies, he needs to be "revivable" (meaning that when he died he wasn't on CD) I tried doing this

AkqDUgu.jpg


But it doesn't work, the hero is still revivable.


Anyone knows how to do this? I had someone tell me that you needed jass but I'm fairly lost on it.
 
The trick part is that some heroes have abilities based on tauren chieftain's revive, so I can't just remove a hero once he dies, he needs to be "revivable" (meaning that when he died he wasn't on CD) I tried doing this

AkqDUgu.jpg


But it doesn't work, the hero is still revivable.


Anyone knows how to do this? I had someone tell me that you needed jass but I'm fairly lost on it.

Do you need the unit who dies to be able to revive sometimes ?
Or do you just need it to be removed ?
Or do you need it to be removed even tho it has reincarnation ability?
 
Here you go

  • Remove
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Reincarnation Equal to (Ability being cast)
        • Then - Actions
          • Unit - Kill Tauren Chieftain 0000 <gen>
        • Else - Actions
          • Unit - Remove Tauren Chieftain 0000 <gen> from the game
 

Attachments

Here you go

  • Remove
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Reincarnation Equal to (Ability being cast)
        • Then - Actions
          • Unit - Kill Tauren Chieftain 0000 <gen>
        • Else - Actions
          • Unit - Remove Tauren Chieftain 0000 <gen> from the game

Do I need to kill the unit? isn't he dying already?

Btw how would I do so that the death animation plays out?
 
Last edited:
Status
Not open for further replies.
Back
Top