I have such a problem that I need to provide continuously updated data of actors for the second class. This data updates when the button in the parent class is clicked, only nowhere can I find if there is a way to keep a “live” reference to this array. Unless there is another way to get around this?
Difficult to understand the exact issue without code, but my guess is that you’re not updating the array with the <transacts>
effect. If so, make sure that whenever you update the array, you do so within a scope that has that effect. E.g. a setter method.
If you’ve not used transactions before, see my reply here: When to use <transacts> specifier?
Also, possibly related: Comunication between Scripts, possible bug
1 Like