Scene Switching

Kit

New Member
Hello, sorry in advance if this question has been answered, I saw some similar questions but haven't found what I was looking for
I'm trying to write a plugin that changes scenes based on a game state. I already wrote a program that returns an int 0-9 and I'm now trying to have each number change a scene.
I have no experience with c++ so reading the documentation has been pretty rough... still have no idea what's up with all the asterisks
I was planning on using the the getscenes() method from https://github.com/Palakis/obs-websocket/blob/master/Utils.h
So from there how do you access the individual scenes returned?
and once I have the scenes can they just be passed into obs_frontend_set_current_scene(obs_source_t *scene);
Thanks!
-kit
 
Top