PickFlyingPoint
Picks a flight point at roughly the distance given by the argument. It follows the heading of a nearby moving unit of the same class; otherwise it tries twelve directions and chooses the least crowded one closest to the current heading.
A small random offset is added to the resulting point. An invalid object returns the point (0, 0). Based on static reading only.
Signature
Parameters and return
Receiver: Flying · Return: point
| Position | Type |
|---|---|
| 1 | int |
Other overloads
No other overloads with this name in the published catalog.