Firebot icon indicating copy to clipboard operation
Firebot copied to clipboard

[Feature Request] "Set Color Source Color" effect doesn't accept the new $obsColorValue[green]

Open CrowbarToolsRobot opened this issue 2 years ago • 3 comments

vastlecania via Discord:

It says it accepts Vars, but doesn't accept that var or any others as far as I could tell. It always throws an error about the input having to be a valid hex color.

CrowbarToolsRobot avatar Oct 03 '23 03:10 CrowbarToolsRobot

https://github.com/crowbartools/Firebot/blob/master/src/backend/integrations/builtin/obs/effects/set-obs-color-source-color.ts

I feel like removing the Else If on line 64 here would fix this, but I have no idea how to actually do this myself.

And upon reflection, I would consider this a bug since there's no way to pass $obsColorValue[] to OBS with this not working

VastleCania avatar Nov 30 '23 19:11 VastleCania

Alternatively, if a $var is detected, could it be made to check that variable before validating it?

TheTaraStark avatar May 31 '24 16:05 TheTaraStark

This variable is intended to be used in the Send Raw OBS WebSocket Request effect. The change color effect validates the value to check if there is a color value before evaluation of the variable. resulting in the current working as intended behavior. if you want to use the variable use the Send Raw OBS WebSocket Request effect, the bug here is that the vars button is shown. but zunderscore may change the behavior. we will have to wait and see.

CKY- avatar Jun 01 '24 15:06 CKY-