Is there a way to change the scene to the previous scene without knowing the name or number? I have a book that I want to display when an inventory item has been collected. My plan was to switch to the scene showing the book when the inventory item was selected. Replacing the journal was a menu item that was intended to return to the previous scene. Everything worked well when everything was in one scene and I was just switching cameras but now I have additional scenes.
I discovered the journal tutorial when searching for an answer but the book scene has some nice graphics.
Comments
However, that will quickly get complicated as you add more scenes to your game. The following script command will load the previous scene:
AC.KickStarter.sceneChanger.ChangeScene (AC.KickStarter.sceneChanger.previousSceneInfo, true);
You can place that line within the Run function of a custom Action, and run that Action in place of AC's regular Engine: Change scene Action.
Place this in an ActionList Asset and run it when you open the journal. If you need to run it through script, you can call the AC.AdvGame.RunActionListAsset function.