Hero revival - gui

wirawiki

New Member
Reaction score
0
How do I make a hero revival trigger? If the player is Player 2,3,4,or5 it will spawn at the region X. If the player is scourge (7,8,9,10) it will spawn at region Y. I have made the regions and the triggers as follows:


Next, what?
 

Ryushi

"I will stand, or I will fall. I will not sit."
Reaction score
59
Use the action Hero - Revive (Instantly). Use Triggering Unit and a point in the corresponding Region. If you don't want the heroes to revive instantly, add in a wait for the revive action.
 

Whoareyou.

New Member
Reaction score
24
Edit: Ryushi too fast by 2 mins :[
Trigger:
  • Actions
    • Wait 1000000000.00 seconds <- Just a joke.
    • Hero - Instantly revive (Triggering unit) at (Center of Region 000 <gen>), Hide revival graphics
 

Inflicted

Currently inactive
Reaction score
63
Above posted trigger leaks, but yeah it's rather simple idea.

Use search, there are lots of posts simlar to this.
 

Necrach

You can change this now in User CP.
Reaction score
62
This is IF YOU WANT A WAIT before revival

Using the Wait action is not recommended. Use a countdown timer (maybe with one array for each player, as I guess each player only got one hero?) or a dummy unit with an expiration timer. Then when the timer ends (or the unit dies) run a trigger reviving the hero (that has been saved in a variable, can do this already when you get the hero)
 

0WN3D

New Member
Reaction score
15
There is 2 Problems.... 1 if the unit can revive by 'buying' itself out and if the unit has RESURRECTION skill
 

Inflicted

Currently inactive
Reaction score
63
Theres nothing wrong with a Wait action, simple and leakless?

But here:

Edit: Ryushi too fast by 2 mins :[
Trigger:
  • Actions
    • Wait 1000000000.00 seconds <- Just a joke.
    • Hero - Instantly revive (Triggering unit) at (Center of Region 000 <gen>), Hide revival graphics

I'm not saying the Wait, i'm talking about the revive trigger. Leaks a location and other possible problems.
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
Is a unit even considered in A unit dies events if it has reincarnation?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top