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

Revival cost on/off

Status
Not open for further replies.
Level 10
Joined
Apr 3, 2006
Messages
535
Is there way that I can setup a trigger that stops a hero being charged for revival, that allows me to switch the cost on/off when I require it, through the use of a Boolean or something??
 
I'm not at a computer that has world editor at the moment, but is there a trigger to revive heroes? and also could you explain the dummy unit as a cost thing? thanks for your help so far
 
When a hero dies they go back to a hero alter to be revived at a cost.
I am looking for a way to be able to turn this cost on/off, hope this helps.
 
Nop, I doubt that. You can either have it enabled or disabled. To disable it, go to Gameplay Constants and scroll to Hero Revive Cost category.
To make it the way you want, you will need custom items to be sold by that altar, which have different costs and, once
  • Trigger
  • Events
    • Unit - A unit uses an item
  • Conditions
    • (Unit-type of (Triggering unit)) Equal to Altar of Darkness
  • Actions
    • Set Point = Your point
    • Hero - Instantly revive (your hero) at Point, Hide revival graphics
    • Custom script: call RemoveLocation (udg_Point)
 
okay i suppose this is the next best way to give the same effect. Thanks alot for your help Pharoah, and LordDC +rep to both you
 
Status
Not open for further replies.
Back
Top