| 11-27-2006, 10:52 AM | #2 |
I think it has something to do with the stop order. So maybe try to pause the unit, then stop it, then unpause it again(in the else part) ex Pause unit stop unit unpause unit if this doesnt work maybe add debugs |
| 11-27-2006, 03:52 PM | #3 |
I'm thinking that maybe ordering the unit to stop is too late. Try changing your event to Begins Casting instead of Starts the effect. It should stop it in time. |
| 11-28-2006, 01:11 AM | #4 |
It would seem that, yes, the unit is not getting stopped soon enough, but the thing that baffled me is that I have another trigger with the line "Ally of (Owner of (Triggering Unit))" changed to "Enemy of (Owner of (Triggering Unit))" and different "Then" actions, but the text only displays once! I tried what both of you have suggested, and neither of them worked. I switched the "Then" and "Else" categories and changed my "If" condition, and the message only displayed once. I added a text message for all players that would show every time the trigger was run, and it only showed that the enemy trigger was running when it defied its conditions. Anyway, I fixed the ability by totally redoing it into an AoE spell, so I don't even need the error message any more. |
