Implement CVar check for Slider
Moderator: GZDoom Developers
-
Accensus
- Banned User
- Posts: 2383
- Joined: Thu Feb 11, 2016 9:59 am
Implement CVar check for Slider
Refer to title. Every other option has [check] except Slider. If possible, ColorPicker could also get the same treatment.
-
Rachael
- Posts: 13968
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Implement CVar check for Slider
Could you clarify this? Specifically what are you trying to accomplish with this?
-
Accensus
- Banned User
- Posts: 2383
- Joined: Thu Feb 11, 2016 9:59 am
Re: Implement CVar check for Slider
I'm trying to disable some sliders from being used if a certain option is Off. Currently I have an option that enables gore, and need the customization sliders to not be active if gore is disabled. Right now this works flawlessly for other items of type Option, but the optional "check" parameter where you specify a CVar to check is missing for Slider and ColorPicker. Not sure what more I can clarify.
-
Rachael
- Posts: 13968
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Implement CVar check for Slider
That's clarification enough. 