- Joined
- Jul 14, 2011
- Messages
- 3,213
Hi. I'm working on some kind of "swarm" effect attack, making flyes attack targets but not moving directly towards them, but making them follow an eliptic trayectory from the main bug to the target, attack it whiel moving (at the middle of the trayectory) then go back to the bug mother.
I know how to do the SetUnitX and SetUnitY and stuff but i don't know how to achieve the right "trayectory" to follow an eliptic shape. I would love to have some function like "ElipticAttack(Attacker, Target)" that handles everything.
I know how to do the SetUnitX and SetUnitY and stuff but i don't know how to achieve the right "trayectory" to follow an eliptic shape. I would love to have some function like "ElipticAttack(Attacker, Target)" that handles everything.