Page 1 of 1

LoadSceneAtSpawnPoint Over-riding Fungus

Posted: Fri Jun 12, 2020 1:55 pm
by TangledRays
Hi, I have been using LoadSceneAtSpawnpoint to over-ride Fungus so that upon leaving a conversation you are sent to the correct point in the level. This has stopped working and I was wondering if anyone has any ideas as to how I can over-ride the Fungus Loadscene component with LoadSceneAtSpawnPoint? I am thinking of using an FSM variable to tell the game to move the character to the correct spawn point, I am also trying to figure what has changed in Fungus to stop this action from working as it should. Thanks for any help :)

Re: LoadSceneAtSpawnPoint Over-riding Fungus

Posted: Fri Jun 12, 2020 3:00 pm
by Tony Li
Hi,

I'm not familiar enough with Fungus to say for sure. Can you just not use the Fungus action to load scenes? Instead, you can add a SaveSystemMethods component somewhere and call its LoadScene method, providing the spawnpoint after "@", such as:

SaveSystemMethods.LoadScene:
Castle@Entryway

Re: LoadSceneAtSpawnPoint Over-riding Fungus

Posted: Sun Jun 14, 2020 3:32 pm
by TangledRays
Problem is I'm using PlayMaker, not a programmer, not sure how to achieve that with visual scripting, I'll have a bit of a look in to it, thank you for pointing me in the right direction :)

Re: LoadSceneAtSpawnPoint Over-riding Fungus

Posted: Sun Jun 14, 2020 3:37 pm
by Tony Li
In that case, instead of using Fungus's functionality to change scenes, you can use the Dialogue System's "Load Level" PlayMaker action. Make sure you're added a Save System component to the Dialogue Manager. (More info: Save System)