| 11-04-2004, 04:54 AM | #1 |
I'm trying to create a special ability, that creates 10 dummy units and orders them all to attack the target. Here's the thing, they all have the same missile arc, however, the missile won't just arc up and down, it willl arc out to the side, downward, diagonal.. so the target has missiles flying from every angle. How can I set the missile arc to arc in different directions? Maybe the Goblin Tinker ability where he shoots all of the missiles wouldn't be too bad.. if only he shot all of them at once. |
| 11-04-2004, 08:31 AM | #2 |
well the thing is that those missle have and animation than makes them move around like that. If you give this projectile to your dummys it will fly a snakline but it will not hit the target visually. also i dont think you want it to look like rockets but more like the good old magic missle... to my knowledge it's not possible to make a missle arc out to the side. but what you could try is make a unit that has locust ability and looks like your projectile than make it move to the side and change flying height and stuff ... i think you know what i mean. |
| 11-05-2004, 05:06 AM | #3 |
Hmm.. well have you ever played Diablo 2? Is there anyway to make the missiles do something like Guided arrow, where it is fired in a direction other than the direction of the target, but it still comes back to hit the target. So, he can fire one of the attacks in a random direction, but it seeks out the target. I could do that to send out 10 missiles, and then they all turn around and hit the target. Kinda like a magic missile I suppose. |
| 11-05-2004, 06:43 PM | #4 |
actualy that's what i thought of ... i had the idea to make a magic missle spell but i never realy tried it... and yes, sure i played D2 and you want to make homing missles but multiply at once... well the only way will be a dummy projectlie unit as i said ... to make it move to annother direction than the target is easy using point with polar offset and facing of unit ... the only problem could be that you will have to use a wait so they can fly a bit befor they turn around and if you use wait you will need a variable like unit group- magic misseles(player number index) and one that saves which unit was targeted by your spell (because i am pretty sure that the WE frogets that when the unit finished the spell and that would certainly be before you propjectiles turn to hit the target) so that you can make the dummy projectlies use some suicide ability on the target even after the spell allready counts as finished... |
