Forum rules - please read before posting.

Problem with save and load

Hello, I put a trigger in my scene and I'm able to save game with below code
In this scene 5 game objects moves to camera position and  then I save game on slot 8 with below code)

AC.SaveSystem.SaveGame (1, 8, true);


But when I load the game with below code all 5 game objects isn't where I saved the game
Why is that? Please help thanks.

AC.SaveSystem.LoadGame (1, 8, true);

Comments

  • You need to attach the appropriate Remember script to GameObjects you wish to save data about.  To save an object's position, you'll want to attach the RememberTransform script to it.  Doing so will cause Adventure Creator to store (and later re-store) it's position when saving and loading.

    Saving data can be found in section 9 of the manual.
  • Thanks man, seems we really can do anything in AC
    Is there something we can't do with AC? :D

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.