Download

How to save a object once variables have changed in game?

I’m trying to save all my chests and other stuff such as levers and they all have the parent of interactable , I have saved them in a array in the save game, when finished interacting with it, but how would I load it so they keep all their changed variables ?

You need the save game :slight_smile:

Yeh I already had all that but I was wondering how to save a whole actor and the variables inside them after they have been changed, instead of only variables

Basically you have 2 options:

  1. Get a marketplace product

  2. Write your own.

Only you know what matters to you. Is it the position, material, blah blah blah. Then you put variables in the save game, and that’s where you store the info.

I know that but when u cast from a object can you set the whole object or just the variables individually

Casting won’t help you save the game :wink:

I’m afraid you have to put the work in…