Hey, I have followed a lot of guides and copied the exact same system and triggers they used, but for some reason it just doesn't work.
I even tried to make the simplest of all triggers and sometimes it works, sometimes it doesn't. Now it just doesn't work no matter what.
But nothing happens when my Hero dies. Have I overseen something? I am getting quite frustrated actually.
Thanks for reading!
I even tried to make the simplest of all triggers and sometimes it works, sometimes it doesn't. Now it just doesn't work no matter what.
-
Hero Revive Add
-
Events
- Unit - A unit Dies
-
Conditions
- ((Triggering unit) is A Hero) Equal to True
-
Actions
- Unit Group - Add (Triggering unit) to Hero_RevivableHeroes
- Trigger - Turn on Hero Revive Periodic <gen>
-
Events
-
Hero Revive Periodic
-
Events
- Time - Every 5.00 seconds of game time
- Conditions
-
Actions
- Set A_Counter = 0
-
Unit Group - Pick every unit in Hero_RevivableHeroes and do (Actions)
-
Loop - Actions
- Set A_Counter = (A_Counter + 1)
- Set A_All_Units = (Picked unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Area_HeroSave[(Player number of (Owner of A_All_Units))] Equal to Alkarean Outpost
-
Then - Actions
- Hero - Instantly revive A_All_Units at (Center of Starting Spawn Point <gen>), Hide revival graphics
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Area_HeroSave[(Player number of (Owner of A_All_Units))] Equal to Vevarian City
-
Then - Actions
- Hero - Instantly revive A_All_Units at (Center of Area Vevarian City Revive <gen>), Hide revival graphics
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Area_HeroSave[(Player number of (Owner of A_All_Units))] Equal to The Misty Isles
-
Then - Actions
- Hero - Instantly revive A_All_Units at (Center of Zeppelin Misty Isles Camp <gen>), Hide revival graphics
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Area_HeroSave[(Player number of (Owner of A_All_Units))] Equal to Alkarah Throne Room
-
Then - Actions
- Hero - Instantly revive A_All_Units at (Center of Area Alkarah Throne Room <gen>), Hide revival graphics
- Else - Actions
-
If - Conditions
- Camera - Pan camera for (Owner of A_All_Units) to (Position of A_All_Units) over 0.00 seconds
- Unit Group - Remove A_All_Units from Hero_RevivableHeroes
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- A_Counter Equal to 0
-
Then - Actions
- Trigger - Turn off (This trigger)
- Else - Actions
-
If - Conditions
-
Events
But nothing happens when my Hero dies. Have I overseen something? I am getting quite frustrated actually.
Thanks for reading!