Quest Control on Scene Load
Posted: Sat Feb 22, 2025 5:15 am
I have 2 scenes, a "town" where you get the quest and a "forest" where you'll complete the quest.
I have it set up so that the quests are persistent between scenes.
What I want to do is that when you go to the "Forest" scene, if you have the FindCoins quest active, it sets to activa a game object with the coins as childs.
Right now, I have a cube in the scene that does that when the player collides with it.
But I'd like it to check if the quest is active when loading the scene.
I have it set up so that the quests are persistent between scenes.
What I want to do is that when you go to the "Forest" scene, if you have the FindCoins quest active, it sets to activa a game object with the coins as childs.
Right now, I have a cube in the scene that does that when the player collides with it.
But I'd like it to check if the quest is active when loading the scene.