In the end I used one global variable, which is only modified in the one script (the “brain”). The individual character scripts depend on it, but cannot change it. I wonder if that’s better or worse than using messages.
In the end I used one global variable, which is only modified in the one script (the “brain”). The individual character scripts depend on it, but cannot change it. I wonder if that’s better or worse than using messages.