crazyfanatic
New Member
- Reaction score
- 20
I have made this revival timer trigger, but it has a bug - when the hero is revived, the player gets disconnected. Can anyone tell me why can this happen?
Here is the trigger:
Here is the trigger:
Trigger:
- Player 1 death
- Events
- Unit - A unit owned by Player 1 (Red) Dies
- Conditions
- ((Triggering unit) is A Hero) Equal to True
- Actions
- Countdown Timer - Create a timer window for Player1 with title (colour[1] + ((Name of (Owner of (Triggering unit))) + |r))
- Set Player1timerw = (Last created timer window)
- Countdown Timer - Start Player1 as a One-shot timer that will expire in (4.00 + (2.00 x (Real((Hero level of hero[(Player number of (Owner of (Triggering unit)))]))))) seconds
- Countdown Timer - Show Player1timerw for Player 1 (Red)
- Countdown Timer - Change the color of the title for Player1timerw to (100.00%, 0.00%, 0.00%) with 0.00% transparency
- Wait (4.00 + (2.00 x (Real((Hero level of hero[(Player number of (Owner of (Triggering unit)))]))))) seconds
- Countdown Timer - Destroy Player1timerw
- Multiboard - Set the display style for Multiboard item in column 5, row row[(Player number of (Owner of (Triggering unit)))] to Hide text and Hide icons
- Wait 0.01 seconds
- Hero - Instantly revive hero[1] at (Center of Region 011 <gen>), Show revival graphics
- Wait 0.01 seconds
- Camera - Pan camera as necessary for Player 1 (Red) to (Center of Region 011 <gen>) over 0.50 seconds
- Wait 0.01 seconds
- Selection - Select hero[1] for Player 1 (Red)
- Events