Different Scene Condition
Posted: Thu May 16, 2024 7:35 am
Hi, every time I decide to implement something custom, I realize that this asset already has this ability, so I wanted to ask before I start
In Scene A, i set a varible by;
Then the player goes Scene B (by conditional scene portal).
I want an object in Scene B to do something (on start probably) if "SomeVariable" is true.
I checked Quest State Listener and Condition Observer, but i don't think these are not suitable components.
Is there a component just for this task, or should i implement custom one (basically checks varible at start and does the job)
Thanks in advance
In Scene A, i set a varible by;
Code: Select all
DialogueLua.SetVariable("SomeVariable", true)
I want an object in Scene B to do something (on start probably) if "SomeVariable" is true.
I checked Quest State Listener and Condition Observer, but i don't think these are not suitable components.
Is there a component just for this task, or should i implement custom one (basically checks varible at start and does the job)
Thanks in advance