ForCircle
not ratedRuns callBack for each point on a circle, offset by interval. Use GetEnumLoc to refer to the current point on the circle. The points will get removed after the first wait, or when the code stops; so clone them before a wait function, or if you store them in a global variable.
callBack is run in a seperate created trigger, so waits will not halt the main thread. Keep in mind that you should not use GetTriggeringTrigger() in callBack.
Parameter explination:
center: Center of the circle.
radius: Radius of the circle.
interval: Distance between each used point in the circle.
startAngle: The angle at which the run starts. If the order of which the points are chosen doesn't matter, this can be set to anything.
If you are using radiuses above 500, I recommend that you keep interval at 64.0 or above.
callBack is run in a seperate created trigger, so waits will not halt the main thread. Keep in mind that you should not use GetTriggeringTrigger() in callBack.
Parameter explination:
center: Center of the circle.
radius: Radius of the circle.
interval: Distance between each used point in the circle.
startAngle: The angle at which the run starts. If the order of which the points are chosen doesn't matter, this can be set to anything.
If you are using radiuses above 500, I recommend that you keep interval at 64.0 or above.