Forum rules - please read before posting.

Container memory

Hi Chris,

I am a bit of confused about the memory for different objects.
In my game, I have a kind of day system, so if a day is over, the scene will be reset.
The AC global var will not be reset if scene is reset, it is fine.
And in my case, I also have component var set in some objects, and I also used the AC container.
So once the scene is reset (in my game, the day change to another day), all the component var reset and the inventory in the container are gone.
So if I want to avoid this, is there any way I can retain the component value/inventory in container even the scene is reset? Thanks a lot

Comments

  • edited March 2022

    I think it depends on the situation.

    It is possible to condense "Remember" component data into a string that can be applied to it after the reset, but it may be easier to instead only reset the parts of the scene that you want to be.

    What are the aspects of the scene that you do want to reset?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.