- Joined
- Mar 3, 2006
- Messages
- 1,564
-
Events
-
Conditions
-
Actions
-
Set Centre = (Player 1 (Red) start location)
-
Set R = 500.00
-
For each (Integer A) from 0 to 36, do (Actions)
-
Loop - Actions
-
For each (Integer B) from 0 to 18, do (Actions)
-
Loop - Actions
-
Set X = (R x (Cos((10.00 x (Real((Integer B)))))))
-
Set Y = (R x (Sin((10.00 x (Real((Integer B)))))))
-
Unit - Create 1 effect for Player 1 (Red) at Centre facing Default building facing degrees
-
Animation - Change (Last created unit) flying height to Y at 0.00
-
Unit - Order (Last created unit) to Move To (Centre offset by X towards (10.00 x (Real((Integer A)))) degrees)
-
-
-
-
-
And I'm sure if this was made in JASS it will be much better.
Notice that I didn't make the angle from 0 to 360 because there will be many units any will greatly slow down the game.