I am looking for the easiest way to execute a function each time a variable is changed. The first thing that comes to mind is to set the replication to RepNotify, but I am not in need of the replication. Any ideas?
Just create a loop that checks its current value against its previous value, if it isnt equal, call the function.
The problem is, I may have thousands of this blueprint at once, and cannot afford to use any sort of constant check or loop due to performance reasons.
You know whenever you are changing the variable, no? Whats causing the variable to change? At some point there will be a place you can call a function
Well yes I know, but if there is a way to do that automatically, that would be so much more convenient.