Forum Discussion
MichaelPalmer-0
3 months agoCommunity Member
How to Change the State of an Object From a Different Scene
I need help changing the state of an object from a different scene. At the beginning of the training, the title scene will have two buttons. Button 2's default state is disabled, forcing the user ...
AndrewHanley
3 months agoCommunity Member
Hi Michael,
You were so close! :)
You're absolutely right that T/F variables is exactly what's needed here. The only problem was that on your main menu slide, you used a "When Variable Changes" trigger... however if you think about it, this trigger will never work because when the variable actually changes, we arent on this menu slide - we are still on the last slide of the scene!
So to make this work, simply change the trigger on your menu slide that says "When Variable Changes..." to:
"CHANGE STATE of Button 2 to NORMAL when TIMELINE STARTS on this slide IF Variable1 = true"
Thats it.
P.S. name those variables! ;)
Hope this helps!
- MichaelPalmer-03 months agoCommunity Member
Alas, you're a genius! What you said makes sense ... now lol. Thank you for your quick response