Activate Node on certain scene?

Announcements, support questions, and discussion for Quest Machine.
Post Reply
ArtPokodo
Posts: 4
Joined: Fri Oct 25, 2019 4:39 am

Activate Node on certain scene?

Post by ArtPokodo »

Hi, Tony.
Thanks for great tool.

I have a quest with nodes which goals on different scenes.
The question is: Is there any solution to activate certain node on certain scene?

Currently I generate Message on loading scene and have "transitional" node with message condition to be sure that scene loaded.

thanks.
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Activate Node on certain scene?

Post by Tony Li »

Hi,

That's the way to do it. Send a message when the player enters the scene, just like you're doing.

For readers who want to know how to send the message, here's one way: Add an empty GameObject to the scene, and add Timed Event and Quest Control components to it. Configure the Timed Event to call QuestControl.SendToMessageMessage.
ArtPokodo
Posts: 4
Joined: Fri Oct 25, 2019 4:39 am

Re: Activate Node on certain scene?

Post by ArtPokodo »

Thanks, I see. Iam doing the same... :)
Post Reply