💬

Community answer

Collected from the ACE community Discord archive around 2023-07-19. It may be informal or outdated — anyone can edit this page to improve it. This topic changes between game versions — double-check before relying on it. Original discussion

find.all with heavy filter exceeds time buffer

🌙 LuaUpdated 2 days ago•0 views
find.all can't yield mid-filter (it wraps GLua's find then builds a table). Call find.all without a filter, then apply your own filtering in a coroutine that mo…

How to filter find.all results when the filter function is too slow for the SF time buffer

find.all can't yield mid-filter (it wraps GLua's find then builds a table). Call find.all without a filter, then apply your own filtering in a coroutine that monitors quota - e.g. process a few entities per tick.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.