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

Possible to make hero unable to be revived?

Status
Not open for further replies.
Level 3
Joined
Feb 27, 2011
Messages
39
I cant find anything like "Stats - can be revived" so im wondering if its possible to disable a hero from reviving at a building that revives dead heros?
 
Or, you could have a simple trigger that just removed the hero about 5 seconds after he died (so the Hero has time to play his death animation, dissipate, and show the message that appears when a hero dies).

That could bug.
If he dies, he will appear in the altar, allowing the user to revive him if he's
fast enough, and then the hero would suddenly disappear.

I think ap0calypse's solution is suitable.
 
Level 10
Joined
Dec 12, 2010
Messages
569
That could bug.
If he dies, he will appear in the altar, allowing the user to revive him if he's
fast enough, and then the hero would suddenly disappear.

I think ap0calypse's solution is suitable.

Actually, the hero would only be avaliable in the Altar for about 2-3 seconds and you can't revive a hero that quick, unless you modify the Gameplay Constants and make all of the heroes revive really fast.
 
Level 3
Joined
Feb 27, 2011
Messages
39
Thanks thats solved for me and +rep.
I have another question i wouldnt make a new thread about - i put a heros gold cost at 25 but ingame he can be TRAINED for only the food cost, why is that?
 
Level 3
Joined
Feb 27, 2011
Messages
39
Tetsmap attached. Tets the map and see that the heros training cost is only 2food but it should be 25 gold 2 food. what could be wrong?
 

Attachments

  • Only food cost unit testmap.w3x
    12.7 KB · Views: 75
Level 10
Joined
Dec 12, 2010
Messages
569
Your solution is good Slayer, but i was reffering to the

part.

I think instead of 5 seconds, it should be exactly equal to the Death Animation time. :p

Twas pretty dum of me to object, but anyways .. :p

Yeah, I know. :wink: I thought about that too. I was just thinking about letting the hero have time to play his dissipate animation.

IIRC, Tavern can revive heroes instantly, can't it? if you use trigger, you must time it very carefully.

The Tavern can revive instantly, but when the hero first dies, he appears in all altars/taverns with his disabled icon and you must wait about 2 seconds after his death message has been displayed until you can actually start reviving him.
 
Status
Not open for further replies.
Top