| 02-18-2004, 09:50 PM | #1 |
My question is, when you start a timer and everything is hunky dory, how do you make the timer display to just 1 player? Here's my trig. Countdown Timer Setup Events Unit - A unit Dies Conditions (Owner of (Dying unit)) Equal to Player 2 (Blue) ((Dying unit) is Summoned) Equal to False ((Dying unit) is an illusion) Equal to False ((Dying unit) is A Hero) Equal to True Actions Countdown Timer - Start (Create a timer that is One-shot, of duration ((Real((Hero level of (Dying unit)))) x 10.00)) as a One-shot timer that will expire in ((Real((Hero level of (Dying unit)))) x 10.00) seconds Countdown Timer - Create a timer window for (Last started timer) with title Respawn Time Countdown Timer - Change the title of (Last created timer window) to Hero Wait... Countdown Timer - Show (Last created timer window) for (Owner of (Dying unit)) Set PlayerTimer[0] = (Last created timer window) Wait ((Real((Hero level of (Dying unit)))) x 10.00) game-time seconds Countdown Timer - Hide PlayerTimer[0] for (Owner of (Dying unit)) |
