Revival Timer trigger help

Dalemil

New Member
Reaction score
2
I need to make revival timers for units when they die. I have 2 forces and I want each player's hero that dies to revive at their respective bases. How do I do this?
 

Dirac

22710180
Reaction score
147
Event
A unit Dies
Condition
Unit belongs to an ally of player 1 equal to true
Action
Revive hero instantly at (player1's base)
 

takethat

Active Member
Reaction score
12
Event
A unit Dies
Condition
Unit is a Hero equals to true
Action
If and else
If owner of dying unit is an ally of (any player whos in force 1)
Set TempPoint == centre of (force1 base)
Revive hero instantly at (player1's base)
call RemoveLocation (udg_TempPoint)
If owner of dying unit is an ally of (any player whos in force 2)
Set TempPoint == centre of (force2 base)
Revive hero instantly at (player2's base)
call RemoveLocation (udg_TempPoint)

this will instantly revive the hero, if you want to have a wait, put before the 1st if then else,

this is mui as unit trigger can have wait, leakless because the point variable will be create and destroy in the same time while the action in btween
 
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