Replies: 2 comments
-
Ok on a hunch I put "testing" in my condition and my action fired. Great, making progress. So now how can I do something a little more complicated in the condition where I extract variable names and do something wiht them. Hoping someone beats me to an answer before I spend hours trying and then looking through the source code to figure out what to do. |
Beta Was this translation helpful? Give feedback.
-
The condition will only evaluate to
You can use the "Variable" action to assign the received message to a variable. Depending on how many arguments you have and how the message received is structured you can then use other options of the "Variable" action type to process them further.
You can then reference those variables using the Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Looking for what I hope is easy help with websocket. I just downloaded and installed Advanced Scene Switcher with the intent of using it simply to receive a websocket message and run one of my Lua scripts using data from the message as parameters (so I don't have to figure out how to write my own websocket plugin). I already have the websocket communication working from Powershell to OBS where I am sending in a message to change a scene name followed by another to trigger a hotkey by name and that works fine. So my first test with Advanced Scene Switcher is just to show that it received a message. So I set a trigger with a condition of Websocket and selected "Scene Switcher Request" in the dropdown (the default, and was surprised it didn't say Advanced Scene Switcher Request - hope thats not an issue). For the action I just selected Switch to a standard scene. When I send the message in nothing happens. Some questions.
For the record here is the message I am sending:
and here is the response I am getting:
Thanks for any help/thoughts, but really I'll just be happy if I can see the darn thing react to a message.
Beta Was this translation helpful? Give feedback.
All reactions