X(t) = h + a * cos(t) * cos(w) - b * sin(t) * sin(w)
Y(t) = k + a * cos(t) * sin(w) + b * sin(t) * cos(w)
for 0 <= t <= 2pi
where a and b are the lengths of the horizontal and vertical axes, respectively,
and w is the angle in radians of rotation from the x-axis
and the point (h, k) is the center of the ellipse.
Requiring the following variables:
- T (real = 0 at init)
- XOffset (real)
- YOffset (real)
- RotatingUnit (unit = your rotating unit)
- CenterUnit (unit = your center unit)
- Requiring the JASS script to be pasted into the Custom Script Header.
- Requiring that you replace the ALL_CAPS_WORDS (except for bj_DEGTORAD)
with numbers reflecting what you want