Hero Revival System Ain't Workin'

Sim

Forum Administrator
Staff member
Reaction score
534
Mortal_Die_Point, the position of the dying unit.
 

Sim

Forum Administrator
Staff member
Reaction score
534
Region - Center Human Revive <gen> on Mortal_Die_Point.

Then when a unit enters that region of 150 range (make it a very small region) it will revive their hero.
 
D

danhel

Guest
wait man i must delay the hero revive after the ghost arrives... else if its killed at the base its almost instantly revives.... this is why i did put hero level / 2 in the first trigger...
 

Sim

Forum Administrator
Staff member
Reaction score
534
Then delay its movement proportionally to the wait you need...

Example : Set (Last Created unit) movement speed to xxxxx/2

or divided by 3, or 4, or 5.
 
D

danhel

Guest
okay.
But it still doesnt work
Code:
Die Blue Copy
    Events
        Unit - A unit Dies
    Conditions
        ((Dying unit) is A Hero) Equal to True
    Actions
        Set Dead_Mortal_Hero[(Player number of (Owner of (Dying unit)))] = (Dying unit)
        Set Mortal_Die_Point[(Player number of (Owner of (Dying unit)))] = (Position of (Dying unit))
        Unit - Create 1 Spirit (Mortal) for Player 1 (Red) at Mortal_Die_Point[(Player number of (Owner of (Dying unit)))] facing Default building facing (270.0) degrees
        Unit - Order (Last created unit) to Move To Mortal_Revive_Point
        Rect - Center Human Revive <gen> on Doom_Die_Point[(Player number of (Owner of (Dying unit)))]
        Trigger - Turn on wtf2 <gen>
 

Sim

Forum Administrator
Staff member
Reaction score
534
Doom_Die_Point

Lol..... I said Mortal_Revive_Point. 3 times.
 
D

danhel

Guest
Sry for doubleposting but i guessed malto didnt see i edited...

still doesnt work
 
D

danhel

Guest
Nothing.... The ghost moves to the correct position but nothing else happens
 

Sim

Forum Administrator
Staff member
Reaction score
534
Did you first create the region somewhere in the map ?
 

Sim

Forum Administrator
Staff member
Reaction score
534
Well the region that will be centered on the Mortal_Revive_Point variable.

Make sure it is created and make it small.
 
D

danhel

Guest
Grrr...
how to create region? What does mean: Center on a point? Why it must be created? I dont understand it, never saw it, dont know how to do it

my head fucking hurts
 

Sim

Forum Administrator
Staff member
Reaction score
534
Lol. Create a region, a small region somewhere on the map. In a corner. Next, name it Human Region.

Then it's ok ! The trigger will center the region on the point named Mortal_Die_Point so when your little wisp will enter that small region centered on where the body is it will revive your hero.

You only have to create the region Human Region. Then the trigger will take this same region and center it on the point.
 

Sim

Forum Administrator
Staff member
Reaction score
534
yes it is. Lol.... "Create a region and name it Human Region"

Where do you read in this sentence that it's not about Human Region??
 
D

danhel

Guest
I meant...
the region "Human Revive" is the place they should revive (already created). that should be moved/centered?
 

Sim

Forum Administrator
Staff member
Reaction score
534
Yes. I'm sorry It's not Human Region it is Human Revive.

Yea use it. lol just name it the way it is in your trigger :p

That is, Human Revive.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top