| 1 | radius = 30; |
| 2 | ang = 0; |
| 3 | for (i = 0; i < 20; i += 1) |
| 4 | { |
| 5 | ang = i * 18; |
| 6 | xx = lengthdir_x(radius, ang); |
| 7 | yy = lengthdir_y(radius, ang); |
| 8 | fp = instance_create(xx + x, yy + y, obj_friendprotector); |
| 9 | fp.direction = ang; |
| 10 | fp.speed = 0.01; |
| 11 | fp.go = 1; |
| 12 | } |
| 13 | spec = 2; |