Hi,
I've gone back to an old map and have decided to make loads of changes. My current issue is that my Revive trigger/index isn't working, I've tried adding gameplay text to show what happens and all of it is running correctly. But it just isn't reviving the Hero.
The map uses Heroes as basic units because of the levels/stats, as there are lots of Heroes owned by that player would that cause the issue? If so does anyone have any other suggestions?
I've gone back to an old map and have decided to make loads of changes. My current issue is that my Revive trigger/index isn't working, I've tried adding gameplay text to show what happens and all of it is running correctly. But it just isn't reviving the Hero.
The map uses Heroes as basic units because of the levels/stats, as there are lots of Heroes owned by that player would that cause the issue? If so does anyone have any other suggestions?
-
Res Boss Init
-
Events
-
Time - Elapsed game time is 5.00 seconds
-
-
Conditions
-
Actions
-
Set ResBoss_MaxIndex = (ResBoss_MaxIndex + 1)
-
Set ResBoss_Unit[ResBoss_MaxIndex] = Gloom 0179 <gen>
-
Set ResBoss_Timer[ResBoss_MaxIndex] = 0
-
Set ResBoss_LvlGain[ResBoss_MaxIndex] = 4
-
Set ResBoss_SpawnPoint[ResBoss_MaxIndex] = (Position of Gloom 0179 <gen>)
-
Unit Group - Add Gloom 0179 <gen> to ResBoss_Group
-
Trigger - Turn on Res Boss Loop <gen>
-
-
-
Res Boss Dies
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
Actions
-
Set TempUnit = (Dying unit)
-
For each (Integer ResBoss_LoopInt) from 1 to ResBoss_MaxIndex, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
TempUnit Equal to ResBoss_Unit[ResBoss_LoopInt]
-
-
Then - Actions
-
Set ResBoss_Timer[ResBoss_LoopInt] = 20
-
-
Else - Actions
-
-
-
-
-
-
Res Boss Loop
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
Actions
-
For each (Integer ResBoss_LoopInt) from 1 to ResBoss_MaxIndex, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
ResBoss_Timer[ResBoss_LoopInt] Greater than 0
-
-
Then - Actions
-
Set ResBoss_Timer[ResBoss_LoopInt] = (ResBoss_Timer[ResBoss_LoopInt] - 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
ResBoss_Timer[ResBoss_LoopInt] Equal to 0
-
-
Then - Actions
-
Hero - Instantly revive ResBoss_Unit[ResBoss_LoopInt] at ResBoss_SpawnPoint[ResBoss_LoopInt], Hide revival graphics
-
Hero - Set ResBoss_Unit[ResBoss_LoopInt] Hero-level to ((Hero level of ResBoss_Unit[ResBoss_LoopInt]) + ResBoss_LvlGain[ResBoss_LoopInt]), Hide level-up graphics
-
-
Else - Actions
-
-
-
Else - Actions
-
-
-
-
-