Page 1 of 1

Activate Node on certain scene?

Posted: Fri Oct 25, 2019 4:50 am
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.

Re: Activate Node on certain scene?

Posted: Fri Oct 25, 2019 8:22 am
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.

Re: Activate Node on certain scene?

Posted: Fri Oct 25, 2019 10:06 am
by ArtPokodo
Thanks, I see. Iam doing the same... :)