• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Revive hero - Trigger

Status
Not open for further replies.
Level 8
Joined
Aug 19, 2007
Messages
294
I need help with this trigger.
It is very simple...A hero die, the altar shold begin the reviving.
  • Revive
    • Events
      • Unit - A unit Becomes revivable
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Unit - Order Temple of Tides 0017 <gen> to train/upgrade to a (Unit-type of (Revivable Hero))
What do i worng?
 
im not so good but how the trigger know what for a hero that should reviving?
should you not have
events
unit - a unit die

actions
unit - order temple of tides 0017<gen> to train/upgrade to a (unit-tybe of(dying unit))

i think that is how to do that try!
 
Only heroes can be revived so for one the condition is useless.
Also an easier trigger would be
  • ReviveHero
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • -------- If you want the player to wait you could put. --------
      • Wait 2.00 seconds
      • Hero - Instantly revive (Triggering unit) at (Center of (Playable map area)), Hide revival graphics
 
Only heroes can be revived so for one the condition is useless.
Also an easier trigger would be
  • ReviveHero
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • -------- If you want the player to wait you could put. --------
      • Wait 2.00 seconds
      • Hero - Instantly revive (Triggering unit) at (Center of (Playable map area)), Hide revival graphics

that would not revive instantly, but after 2 seconds...
 
Uhhh... I think this works. I'll have to test it...

  • Unit - Order (YourBuilding) to Revive Hero (Triggering unit)
EDIT: Works. Make sure, as noted below, that you allow adequate time for the altar to be able to revive. This order is under Unit - Issue order targeting a unit.

Good luck!
 
Last edited:
Status
Not open for further replies.
Back
Top