[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