Going back to a scene
Lets say you set up 2 scenes, one for the inside of garage and one for the inside of the attached house. Is there an easy way to retain whats happened in one scene when I left it so when i go back to it everything was like it was when I left? For instance lets say at the beginning of the garage scene (beginning of game) I have GS place random actors throughout the scene and maybe the player drops some actors too if need be. I leave to the door actor which triggers the "house" scene and its the same as the in regard to actors I explained. If I walk back to the garage scene, I want everything to be as it was before I left it. Same for the house.
Lon
Lon
Comments
Yeah you just need to use Save and Load attributes to save the x/y coordinates and if they were spawned along with an interger attribute to go with it.
So:
When
actor: larry is spawned
change attribute game.larryspawned to 1
save key: LarrySpawned Attribute: game.LarrySpawned
Before these two scenes, on your very first one, have the load attribute to load the exact same key name and attribute as above. Make sure you put any Save attributes directly after what you want to save too.
This is a start but you'd still need to save the x/y too. Hope that helps..