Switches and numbers will have a new property: “variable name”.
All numbers with the same variable name will always have the same value. The same with switches, they will have the same state (on/off). Very useful because now I use the save behavior and set it to 0 when the game starts.
This is an interesting concept. I’ve considered doing something similar, by allowing values to be “shared”, that would work like this:
If you set the Number with the label Health to “shared”, then any Number with the label Health would always have the same value.
One downside with this is that it would be really easy to create hard-to-find bugs, since there isn’t a good way to tell what is updating your value. It may be worth the trade-off though, since it would reduce the need for sending as many messages back and forth. I’m not sure.
If it’s an input, I don’t like your idea. Often I want to read a value when an object is spawned, and I want to do that easily like with the save behavior.