if unchecking “Infinite Resources” is required for the Conditional Button to work as expected (again, Infinite Resources is checked “on” by default for all new islands), could creators at least get a heads up about that in the official docs page for the device? Currently it’s not mentioned. It just says “without the specified item, the Conditional Button does not trigger” @Wertandrew pointed out that this has been the case for a while, so if it’s gonna be the case for the future I think the docs should include it.
Original Post:
By default, if you have “Infinite Resources” checked in your Island Settings (which is the default setting), the Conditional Button will always activate and never fail for any Key Item that is labeled a “Resource” in Fortnite. This happens no matter how many of that item shows in the player’s inventory. This appears to be because the button considers the player to have an infinite number of all Resources, such as Acorns used for crafting, not just Building Resources like Wood. GetItemCount() in Verse returns the maximum number 2147483647. Basically, this renders the Conditional Button useless for crafting by default.
Multiple creators have posted confusion about this. My guess is that most creators and players assume “Infinite Resources” only applies to Building Resources like Wood, not Consumables like Acorn that are used for activities like crafting. In the player’s inventory, the infinity sign shows next to Building Resources to indicate that they are infinite, but it shows a finite, accurate number of other Resources. This means your inventory could show that you have zero Acorns, but the Conditional Button acts like you have infinite Acorns - there is a mismatch. For Consumables that are not labeled as Resources, like Keycards, the Conditional Button works fine.
For some creators, unchecking Infinite Resources is a fix for the Conditional Button. However, other creators can’t uncheck Infinite Resources because they want infinite Building Resources for their gameplay.
Here are four related bug reports about this. Likely there are additional affected creators who didn’t report it.
Oh thanks, good to know. So this was a thing pre-UEFN too? I can’t imagine any gameplay reasons why a creator would want crafting items to count as infinite (but not show in inventory as infinite), can you?
If the Conditional Button has required “Infinite Resources” turned off in the Island Settings in order to work as expected, and likely will in the future, I would at least like to see that mentioned in written docs page for the Conditional Button Device. Currently there’s no mention of Infinite Resources. Conditional Button Devices
I’m gonna add that to the body of this post. The docs request.
What could be done to fix this would be to allow creators to choose what resources are actually infinite. This would allow for backwards compatibility, while also keeping new developers sane.
You mean in the Island Settings, where the Infinite Resources option is? Makes sense to me. I’m still not sure why anyone would want resources other than the ones you build with to be infinite but maybe some people do.