Browsing StarfallEx's section
← Back to ACE
πŸ’¬

Community answer

Collected from the ACE community Discord archive around 2021-11-13. It may be informal or outdated β€” anyone can edit this page to improve it. Original discussion

How find.* filter functions work

⭐ StarfallUpdated 2 days agoβ€’0 views
You pass a function that takes an entity and returns a boolean - true keeps it in the result table. Example: find.all(function(e) return e:getOwner()==owner end…

How does the filter function work for Starfall find functions

You pass a function that takes an entity and returns a boolean - true keeps it in the result table. Example: find.all(function(e) return e:getOwner()==owner end). You can also operate on entities inside the filter itself.

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.