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

[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?
 
Level 5
Joined
Nov 6, 2008
Messages
150
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!
 
Level 4
Joined
Sep 2, 2006
Messages
99
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
 
Level 15
Joined
Aug 18, 2007
Messages
1,390
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...
 
Level 8
Joined
Sep 13, 2006
Messages
431
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:
Level 23
Joined
Nov 29, 2006
Messages
2,482
Even if he said he solved it already, its good that you all give suggestions (nevertheless...)

The reason why his trigger wasnt working was either
A) The altar couldnt revive it
B) When a hero dies, it takes a while for it to be revivable, around 5 seconds.
 
Status
Not open for further replies.
Top