Advanced Revive Trigger help

SouL-Laka

New Member
Reaction score
2
ok
im making a maze
and i want to make a advanced revive trigger that isnt like usual mazes cause my maze is different
the trigger has to make it so that when one player dies it revives that player at the last circle of power it was on which is basiclly the start of each level
so if they are at level 2 and they die, they get revived at level 2 but the begining of it where the circle of power is etc.
and it can go like infinate lives i dont want a limit

so can some1 show me how to make this :)
 

Sefiraat

New Member
Reaction score
15
This is how i would do it:

Make:
Region Variable

Then make it so;
When a checkpoint is reached it sets the variable to that region.

Then when a unit dies just make it revive upon that region

If you want this to NOT be universal make the Region Variable an array and edit it as such, if you need more help please ask :)

EDIT :
This is what i believe you are looking for :

Code:
Checkpoints1
    Events
        Unit - A unit enters Checkpoint1 <gen>
    Conditions
    Actions
        Set Checkpoints[(Player number of (Owner of (Entering unit)))] = Checkpoint1 <gen>


Code:
Unit Dies
    Events
        Unit - A unit Dies
    Conditions
    Actions
        Hero - Revive (Dying unit) instantly at (Center of Checkpoints[(Player number of (Owner of (Dying unit)))]) Hide reveal graphics
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top