If I have a script monitoring a DAT for changes, where does the trigger resides?
I can see two possibilities: the script “monitor” is always cooked every frame, figures out the DAT hasn’t changed and doesn’t run
or
the DAT being monitored happens to cook, then looks at all the scripts etc that are dependent on it, and calls them.
the second possibility is infinitely more efficient and allows for a large number of scripts monitoring DATs without fear of overcooking or bogging anything down. But it does require that if I hand delete the script, or change its settings, the DAT that was being monitored is updated so that it knows not to call that script anymore.
which way is being used?
tx
d