FireBladesX
Eating my wings!
- Reaction score
- 123
Is there a custom script (or two) that slide a unit according to it's facing angle and its custom value?
If I had to guess, it would be getting the cosine and sine of the angle * the custom value of the unit, and setting it to the unit's X and Y, but I don't know how to write that in jass, or if it's possible.
Or if it would be any better than doing the GUI function, point with polar offset.
If I had to guess, it would be getting the cosine and sine of the angle * the custom value of the unit, and setting it to the unit's X and Y, but I don't know how to write that in jass, or if it's possible.
Or if it would be any better than doing the GUI function, point with polar offset.