| 02-26-2007, 04:47 AM | #1 |
What i need is a trigger that makes it so, once a mine goes off (dies) it'll make unist within 400 range get pushed backed.. I tried to mess with VilesKnockBack triggers, but it wasnt working out... Does anyone know how to make this kind of trigger? |
| 02-26-2007, 05:00 AM | #2 |
If you;re using WEU, there's a slide trigger in there, that you can use to set how far a unit will side once the mine goes off. Just to a pick every unit damaged by spell, or pick every unit in range, and then fire the slide trigger on them. You'll have to do a bit of math though to get the rotations right though. The big problem I see here is detecting when the mine goes off. I remember seeing a thread (posted by you?) about issues with detecting when a mine goes off. Once that gets figured out, the sliding of units is easy. If you don't use WEU, you can do the slide action in the regular editor as well. There's a tutorial on it here: http://www.thehelper.net/forums/showthread.php?t=22135 |
