So I wanted to set a global variable that was the previous layout. Saved as a string. Set the var as a string=current.layout name. However, as an action, I can't change the string value to the current layout name.
Doing it as a numerical value works, but strings don't work. I'm sure there is a reason for this, but I'm not sure why.
It's ok, I can map all the levels to numbers, but I struggled with not being able to say layout = "Town"
Also go to previous layout isn't workable in this situation. Otherwise, I would use that.
I guess the question is why strings can be global vars but can't be changed from the event sheets...