How to keep objects global, but have them not interfere between different layouts?
I am working on having the player transition to different layouts and back. All objects, besides those physically added to the layout, must be global because otherwise they will diappear when returning back to a layout.
The problem is the object will then appear in ALL layouts. I don't want that, just want them to appear in their own layout. The only thing I can think of is when exiting a layout make all of such objects invisible and not solid?? Also, I will have to make sure all triggers based on interaction between player and global objects (on other layouts) are turned off. Then when returning, restore their x and y position, make them solid if they were previously, and then make them visible.
This is starting to get tedious, so I'm wondering for those that have already done this if there is a recommended way!
Thanks