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?
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
I'm on a page about incorrect corrections, and spent the better part of like two hours trying to get someone to understand that -5^2 = -25, not 25, and then that post had comments get reposted because that group is self sustaining, and that person was in turn trying to explain what I just explained to them. And I'm taking that as a victory
I will be AFK for a couple of days you guys hold down the fort while I am gone. I will be checking in on my phone but that will severly limit me. Be back saturday!