| 09-09-2004, 12:35 PM | #1 |
is there a trigger event like this : "a timer expires" so I would have to make in conditions : "expiring timer equal to mytimer" I've just found a trigger that does : "mytimer expires" the problem is I would like to make one trigger for several timers not a trigger for each timer =( if the trigger doesn't exist, how could I do that ? |
| 09-09-2004, 12:53 PM | #2 |
There aren't any timer conditions, so you would have to make individual triggers for each timer. But If you are using the same actions for when each timer expires, you could just put all the events in one trigger. Eg. Code:
Melee Initialization
Events
Time - Timer[1] expires
Time - Timer[2] expires
Time - Timer[3] expires
Time - Timer[4] expires
Time - Timer[5] expires
Conditions
Actions
Unit - Kill (unit)Hope this helps. ![]() |
| 09-09-2004, 01:06 PM | #3 | |
Quote:
ok thx =) but is there a way to get the index of the timer that expires ? |
| 09-09-2004, 01:25 PM | #4 |
I wasn't able to find a way, there might be a way using integer variables and loops. GL, ![]() |
| 09-09-2004, 05:55 PM | #5 |
create a single trigger for every timer, but i dont know what action starts the timer(s) in your map so i cant tell you an other way |
