Page 1 of 1

Setting min/max dependent on other setting's value?

Posted: Wed Oct 27, 2021 2:56 pm
by FuryoftheStars
Just curious if this is possible.

Basically, if setting A (an int-setting) gets assigned a value of 40, then setting B's value (also an int-setting) cannot be more/less than this. But if setting A is changed to 20, then setting B's min/max gets updated to reflect this.

In my use case, I have a series of int-settings that are meant to define a range. Realistically they should allow the user to enter a value from 0-1000, but setting-A must be < setting-B must be < setting-C.

Re: Setting min/max dependent on other setting's value?

Posted: Wed Oct 27, 2021 5:08 pm
by Rseding91
This isn't possible. What you've described is a possible infinite loop: A sets its limits off the value of B, B sets its limits off the value of A, repeat forever every time one is changed and the game is restarted it changes the value of the other and each game restart changes things again.

Re: Setting min/max dependent on other setting's value?

Posted: Fri Oct 29, 2021 4:15 pm
by FuryoftheStars
Hmm, ok. I guess, imo, I would've put that on the lap of the mod creator not to do/deal with, but if you all don't want to do it then so be it.