How to get the scene switch callback?

hyfkobe

New Member
Hello everyone, I want to send a message to my server when the scene switches. Is there a plug-in or script that supports this behavior? Thank you.
 

AaronD

Active Member
You could connect to OBS's WebSocket server. It already has that hook.
1696735534414.png


Or you could use the Advanced Scene Switcher plugin to do almost anything you want in response to anything:
In your case, it might look something like this:
1696735162030.png
 

hyfkobe

New Member
You could connect to OBS's WebSocket server. It already has that hook.
View attachment 98366

Or you could use the Advanced Scene Switcher plugin to do almost anything you want in response to anything:
In your case, it might look something like this:
View attachment 98365
I tried to connect to websocket, but how can I receive the scene switching message? Thank you.
 
Top