Browsing StarfallEx's section
← Back to ACE
💬

Community answer

Collected from the ACE community Discord archive around 2018-07-24. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Detecting when a table value changes

⭐ StarfallUpdated 2 days ago•0 views
Store the previous value yourself and compare, or use a metatable __newindex/__index wrapper that records deltas - there's no built-in change detection.

How to detect if a value changed (e.g. for a 'changed' table)

Store the previous value yourself and compare, or use a metatable __newindex/__index wrapper that records deltas - there's no built-in change detection.

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.