Closed MoxyFoxy closed 2 years ago
Hey F0x1fy,
You're very close to the right answer here. Except for Random
logic, you cannot use multiple actions on a line. You have to use the values returned by an action (parameters).
OBS CurrentScene
returns the current_scene
parameter that you can leverage on future lines. So, the code would look like
OnChannelPoint e "Retro Mode"
OBS CurrentScene
If {current_scene} = "Main"
Play 100 nowait "Retro Mode.wav"
OBS Scene CRT
Delay 60
OBS Scene Main
Also, side note, the OnChannelPoint
trigger does not take a permission action, so the e
means nothing in this case.
Wow, thank you for the swift response! Just in time for my stream haha. I cut this one a bit close :P Greatly appreciated!!! I may even consider contributing to this project if you're open to PRs. Anyways, this was a lot of help! Thank you, and I hope you have a great day/night!
How does one properly use an "If" statement? I had tried a few different ways to do this, but to no avail. The documentation doesn't help much either. I tried it both like this:
And like this:
Yet it seems to still not trigger, despite being in the "Main" scene. What exactly am I doing wrong here?