| 06-29-2006, 05:21 AM | #2 |
I'm too tired to look through it completely but just a side note, Pick Every Unit will pick up recently dead (I think decaying) units too. You're gonna want to run a check whether its dead. I'm just too tired to think of the constant right now... |
| 06-29-2006, 05:34 AM | #3 |
I have another trigger which resurrects units killed in the dueling arena in a safe zone before disabling the controlling player's controls. The problem with this trigger is that when it runs after 5 seconds it declares everyone as a winner. I need to somehow check for units in the region, if the only units in the region belong to an ally of Player 1 then all allies of player 1 win, if they are player 2, then all allies of player 2 wins, same for player 3 |
| 06-29-2006, 05:54 AM | #4 |
First off, you don't really need the last two actions. That's what your event is for, it does the check every 5 seconds for you! I would use a boolean array, each index representing a player slot. Something like |
| 06-29-2006, 06:13 AM | #5 |
I think you should just try it without the last two actions. As you have it, you're creating hundreds of threads per minute, which will cause massive problems in the long run (And make it extremely leaky/laggy). Try it without the last two and give us an update. Also, you never specified WHICH PART of the trigger wasn't working, so we have no idea what to look for in checking over it. That might help us out a bit. :P |
