I believe you haven't read the documentation. Did not click on '?'.
Help with resource functionality
-
So I have a resource check box named "Auto gym trainer" and another named "Auto stack for war". I have a pretty complex if statement set up to make them not clash with each other as their functions cannot work together. So I set up a visible if variable for Auto gym trainer, if Auto gym trainer is false, then Auto stack for war is visible. But I noticed that when I check the Auto gym trainer check box to true, and subsequently make Auto stack for war invisible, it doesn't uncheck Auto stack for war.
So in my script I have a work around for every all other resource settings and I'm sure I can figure out some series of logic statements as I already have a pretty complex set up now. But I was wondering if there is any way to change the resource setting in script, so I can do an if Auto gym trainer is true, then set auto stack for war to false. I don't think there is as I'm pretty sure resources are hard set once the script begins. But if theirs a way to do it that way I'm all ears.
Assuming their isn't, I also don't know what the hell the "Is advanced" checkbox does when editing a resource but I feel like that might have something to do with my solution. Anyways I've looked every where for some kind of writing that explains what the hell enabling that checkbox does or what you can do with it, but I've had no luck finding the answer. And it doesn't appear to do anything when enabling it so. Any help would be greatly appreciated!
Image of the "Is advanced" checkbox below

-
bump
-
@Megadarren88-0 said in Help with resource functionality:
bump
It's not clear from your message text what exactly you want to achieve
-
@Fox, I have two mutually exclusive resource settings in my script: "Auto gym trainer" and "Auto stack for war." The script currently uses the "visible if" setting to hide "Auto stack for war" when "Auto gym trainer" is checked, but it doesn't automatically uncheck it. I want to modify the resource setting so that if "Auto gym trainer" is enabled, "Auto stack for war" is programmatically set to false (unchecked).
Additionally, I'm curious about the purpose of the "Is advanced" checkbox when editing a resource—it might relate to controlling these settings, but I haven't found clear documentation on what it does.