Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't set variable #82

Closed
Daenara opened this issue Nov 22, 2021 · 5 comments
Closed

Can't set variable #82

Daenara opened this issue Nov 22, 2021 · 5 comments
Labels
feature New feature or request

Comments

@Daenara
Copy link

Daenara commented Nov 22, 2021

Describe the bug
I just found this and it looks promising, but I haven't figured out how to actually use variables yet. It might be me being stupid or I found an actual bug, but when I try to set a variable on button press I can't select which variable to set because the drop down menu is empty. I created a variable that I hoped I would be able to save my current obs scene to, but so far I haven't even been able to save anything.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
I would expect there to be a list of variables to select.

Screenshots
empty_variables

Additional context
Because I am not sure if this is a bug or me not knowing what I am doing I wanted to ask on the discord but for some reason I can't post anything on there. I get an error where Clyde (the discord bot) tells me I am not allowed to send a private message to this user which seems kinda strange since I am trying to write something in a discord server. I tried 3 different channels and, since my message was kinda long, a shorter one and nothing changed. Not sure if discord has issues today or if it is something with the server.

@Daenara Daenara added the bug Something isn't working label Nov 22, 2021
@zedalert
Copy link
Contributor

It's not a bug. A drop down list will not show you variables until you select the action below. Because action depends on variable type, i.e. you can't count up boolean variables.

I think a better solution would be graying the checkboxes depending on what variable you have chosen, also variables in the variable drop down list should be visible all the time.

@NightB1ade
Copy link

Seconded the above. (too slow typing for me!)

I think flow of the UI needs changes. Either the above, or even switching around the interface so you choose the radio button first before variable. (My preference would be what @zedalert has suggested though!)

@manuelmayer-dev
Copy link
Member

As @zedalert said, it's not a bug but I agree that the ui is not very intuitive. I'll change this with one of the next updates.

@manuelmayer-dev manuelmayer-dev added feature New feature or request and removed bug Something isn't working labels Nov 22, 2021
@manuelmayer-dev manuelmayer-dev added this to To Do in Macro Deck via automation Nov 22, 2021
@Daenara
Copy link
Author

Daenara commented Nov 23, 2021

Okay, thanks for that. So I at least can see my own variable now. I don't see any obs plugin variables but I am not sure if I should see them. I had hoped for some way to save the active scene inside a variable when switching to my brb scene and being able to restore it afterwards but I don't think the variable system can do that yet.

@manuelmayer-dev
Copy link
Member

I don't see any obs plugin variables but I am not sure if I should see them.

The variables which are created by plugins are read-only. You can display them on action buttons or use them in conditions. To switch the active scene, you can use the "Set scene" action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants