Hi, I've run into a technical issue with save states using the sub-application.
I have two frames, each with a sub-application object in them, both sub-app objects are set to run the same frame and are set to include Global Values.
In the game, the player will be viewing one frame, whilst the first sub-app runs a different frame in the application, and eventually the player will be taken to view another frame that has its own sub-app.
However, when this change occurs, the sub-app in the final frame is at its default state, whereas I want it to have the state of the sub-app that came before.
The sub-app object is running a frame where the enemy AI is executed. My game has a lot of complicated stuff, so I've segmented different areas into different frames, hoping I could keep the enemy AI frame running uninterrupted in the background regardless of what frame is being shown.
I'm basically wondering if two sub-application objects both set to run a particular frame, whilst also being placed inside two different frames, can transfer the current state of the particular frame they are running to each other?
Or if I can make one sub-application object run in the background uninterrupted for the whole application while the frame the player views changes?
I haven't had to deal with save states before, so please forgive me if there's a common, obvious solution.
I am open to any method of running this AI frame in the background uninterrupted by frame changes. I've thought about using Global Values and Counters to store the positions and states of the AI frame, but it's a very complicated frame, and I don't want to have to store each and every possible state manually if I don't have to.