Alright, first off yes that is a sloppy title... but I'm to tired to think of a better name so anyways:
Alright I have a hero unit whos attacks do not home in, so if you moving left to right in front of my hero he will miss most of the time. I have been rolling it over in my head for almost 2 hours now and I just don't know how I would do it.
I need the formula to issue an order targeting a point ahead of a target so that once the target reaches it the bullet will also hit that point simotaniously. You can just type it out but I will be using this trigger to issue the order:
[A] = Position of Attacking Unit
= Position of Attacked Unit
[C] = Speed of Attacked Unit
[D] = Speed of Bullet
[E] = Distance Between Attacking unit and Attacked Unit
EDIT: For this formula you can assume the target unit is moving straight forward the whole time.
In addition, you can use variables that are not in the list above.
Alright I have a hero unit whos attacks do not home in, so if you moving left to right in front of my hero he will miss most of the time. I have been rolling it over in my head for almost 2 hours now and I just don't know how I would do it.
I need the formula to issue an order targeting a point ahead of a target so that once the target reaches it the bullet will also hit that point simotaniously. You can just type it out but I will be using this trigger to issue the order:
- Unit - Order (Attacking unit) to Attack Ground (Point offset by 256.00 towards 0.00 degrees)
[A] = Position of Attacking Unit
= Position of Attacked Unit
[C] = Speed of Attacked Unit
[D] = Speed of Bullet
[E] = Distance Between Attacking unit and Attacked Unit
EDIT: For this formula you can assume the target unit is moving straight forward the whole time.
In addition, you can use variables that are not in the list above.