- Joined
- Mar 10, 2009
- Messages
- 5,014
EDIT: THIS THREAD IS SOLVED...
Hello, I was searching for hours for an answer to this question...
Is there anyway to NOT RESET the timer (countdown timer) or make the timer MUI when hero dies?...the thing is, even hashtables & indexing is not working...if anybody is kind enough to help, plz post triggers here, thanks!...+rep to those who solve this...
NOTE: Plz dont tell me to just make it MPI coz I want to do it the 'MUI' way...
Example:
Trigger 1
Event - Hero Dies
Actions - create timer for 10 seconds (<<<This is the problem, the timer will reset when another hero dies even using hashtables or indexing!)...
Trigger 2
Revives the hero when timer expires
THIS IS THE TRIGGER: I've set variables before, blah blah blah, nothing bloody works!
Hello, I was searching for hours for an answer to this question...
Is there anyway to NOT RESET the timer (countdown timer) or make the timer MUI when hero dies?...the thing is, even hashtables & indexing is not working...if anybody is kind enough to help, plz post triggers here, thanks!...+rep to those who solve this...
NOTE: Plz dont tell me to just make it MPI coz I want to do it the 'MUI' way...
Example:
Trigger 1
Event - Hero Dies
Actions - create timer for 10 seconds (<<<This is the problem, the timer will reset when another hero dies even using hashtables or indexing!)...
Trigger 2
Revives the hero when timer expires
THIS IS THE TRIGGER: I've set variables before, blah blah blah, nothing bloody works!
-
Hero Dies
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((Triggering unit) is A Hero) Equal to True
-
((Triggering unit) is an illusion) Equal to False
-
-
Actions
-
Game - Display to (All players) the text: ((Proper name of (Triggering unit)) + ( Has been killed by + (Proper name of (Killing unit))))
-
Hashtable - Save Handle Of(Triggering unit) as (Key die) of (Key (Triggering unit)) in Hash
-
Hashtable - Save 10.00 as (Key time) of (Key (Triggering unit)) in Hash
-
Countdown Timer - Start Timer[(Load (Key die) of (Key (Triggering unit)) from Hash)] as a One-shot timer that will expire in (Load (Key time) of (Key (Triggering unit)) from Hash) seconds
-
Hashtable - Save Handle Of(Last started timer) as (Key timer) of (Key (Triggering unit)) in Hash
-
Countdown Timer - Create a timer window for (Load (Key timer) of (Key (Triggering unit)) in Hash) with title <Empty String>
-
-
Last edited: