Forums » Suggestions
Lua - ForEachSectorObject()
I would like to request a function that behaves like ForEachPlayer(), but instead it iterates over sector objects within radar range. This should probably be limited to only returning asteroids and cargo.
This would simplify the process of trying to find nearby objects for targeting or acquisition.
This would simplify the process of trying to find nearby objects for targeting or acquisition.
Looking back in the history, I also found this related thread.
Lua API: New functions related to objects within radar range.
Lua API: New functions related to objects within radar range.