Is there a way to PLAY NEXT SCENE?

392 viewsGeneral
0

I’ve been away from CSS for long enough to forget the basics. I need to build a quick and simple controller that will have one button play the previous scene, and one button play the next scene. I don’t see this in the menu for adding a new mapping type.

Can someone remind me how to make a button on my controller play the next scene?

Thanks!

admin Changed status to publish May 22, 2024
Attached Files:
0

In a Reaction mapping:
Use the action: Live Object model > Scene > Fire
Then in the Path menu (the little hand icon to the left of the menu)
For ‘Scene Number’, select ‘custom code’, then paste this in:
self.get_selected_scene_num()

That action will now fire the selected scene. All you need to do now is, in the reaction listener section, select the button which you want to use to fire it.

admin Changed status to publish May 22, 2024
Attached Files: