HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Making a hero non revivable at an altar?

08-01-2006, 05:38 PM#1
Sardius
Is it possible to make a hero non revivable at an altar?
08-01-2006, 05:57 PM#2
moyack
I'm not sure if this works:
I'm not sure if it's witten correctly :P:
When MyHero is Killed
Event - Unit is killed
Conditions - Killed unit equal to MyHero
Collapse Actions
Player - Set avaliability of MyHero to 0
If it works, please tell me. This action is usually buggy.
08-02-2006, 04:44 PM#3
Sardius
There isn't even a trigger for that that I could find... Closest one was.

Player - Make Hero Unavailable for training/construction by Player 1 (Red)
08-04-2006, 09:25 AM#4
SentryIII
Go into the Object Editor -> Select the alter in question -> Scroll down and select a field labelled "Techtree - Revives Dead Heros" -> Set to False

08-04-2006, 05:15 PM#5
Alevice
But that affects all heroes. What if he just one one type of hero non-revivable?
08-04-2006, 05:21 PM#6
moyack
Quote:
Originally Posted by Sardius
There isn't even a trigger for that that I could find... Closest one was.

Player - Make Hero Unavailable for training/construction by Player 1 (Red)
There's an option like where you can set the maximum amount of units for training, sorry if I don't remember that ATM.
08-05-2006, 10:22 PM#7
HernanG
What about removing the hero from the game when he dies?
If he is dead and non-revivable, u dont want to use him anymore, so...
08-06-2006, 02:16 AM#8
moyack
Thsi is the trigger that I was suggesting before:
Trigger:
My Hero Dies
Collapse Events
Unit - A unit Dies
Collapse Conditions
(Unit-type of (Triggering unit)) Equal to MyHero
Collapse Actions
Player - Limit training of MyHero to 0 for Player 1 (Red)
08-06-2006, 02:23 AM#9
Wyvernoid
Have you tested it yet, I wonder if it has got problems, that, is reviving the same as training? (I don't know^_^)
08-06-2006, 02:45 AM#10
moyack
Tested and....

It doesn't work :(

The only option avaliable is the HernanG, Remove unit from game disables reviving.
08-06-2006, 05:51 PM#11
Sardius
I don't want to remove the unit from the game... Because its for the familiars, familiars are heroes, but the main heroes are responsinle for ressurecting familiars, not altars.
08-06-2006, 11:03 PM#12
Pheonix-IV
'Revive' them the instant they die, store them in an array and hide them. Then trigger the revival process on the heros.
08-07-2006, 04:07 PM#13
Sardius
Found a pretty easy way... Just change the Hero Revival Location for that hero to a building that you'll never have...