I'm using Twine 2.1 with SugarCube 2.12.0.
I'm looking to see if there's a way to use the Settings UI to make a Setting that affect other Settings, so for instance:
Now, I want it so that if showdesc is set to false, describe is disabled and/or automatically set to None as well. In this example, it would be pointless to set what to describe if the descriptions aren't going to be shown.
I'm thinking, a callback to .removeList("describe") in onInit/onChange for showdesc, but I'm pretty sure removeList() is just my imagination and it's not available in the Settings UI.
Is there a way to simulate that?
I'm looking to see if there's a way to use the Settings UI to make a Setting that affect other Settings, so for instance:
Setting.addToggle("showdesc", { label: Show Description, default: true } Setting.addList("describe", { label: Describe, list: ["None", "Nature", "People", "All"], default: "All" }
Now, I want it so that if showdesc is set to false, describe is disabled and/or automatically set to None as well. In this example, it would be pointless to set what to describe if the descriptions aren't going to be shown.
I'm thinking, a callback to .removeList("describe") in onInit/onChange for showdesc, but I'm pretty sure removeList() is just my imagination and it's not available in the Settings UI.
Is there a way to simulate that?