This doesn't seem to work. Any idea why?
-
Resurrect
-
Events
- Unit - A unit Dies
- Conditions
-
Actions
-
For each (Integer number[5]) from 1 to 2, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Dying unit) Equal to protagonist[number[5]]
-
Then - Actions
- Set templocations[1] = (Center of herorevive1 <gen>)
- Wait 10.00 seconds
- Hero - Instantly revive protagonist[number[5]] at templocations[1], Show revival graphics
- Custom script: call RemoveLocation(udg_templocations[1])
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Dying unit) Equal to villain[number[5]]
-
Then - Actions
- Set templocations[2] = (Center of herorevive2 <gen>)
- Wait 10.00 seconds
- Hero - Instantly revive villain[number[5]] at templocations[2], Show revival graphics
- Custom script: call RemoveLocation(udg_templocations[2])
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer number[5]) from 1 to 2, do (Actions)
-
Events