How do I make it so when a player reaches a certain amount of an item, it deactivates buttons

Make sure to mark a solution!

2 Likes

A solution that doesn’t use recursion: Make an IIM edit a property. Make the property trigger the checker.

Why shouldn’t you use recursion? First, QMechs are weird, recursion runs out after 301 cycles, and it can induce lag.

3 Likes

Using a checker will be the easiest way.

Here’s a guide to solutions, which is what you should mark!

1 Like

sorry I was asleep :frowning:

3 Likes

What’s an IIM? And a QMech?

2 Likes

Yeah I had that, but it didn’t reactivate, so I need help reactivating it

1 Like

IIM = Inventory Item Manager, QMech = Gimkit’s Limitations.
you can reactivate that mechanism by setting “when the check fails transmit on” to a channel that will reactivate the buttons.

2 Likes

Ok I will try and do it

1 Like

how do you want it to reactivate?

1 Like

When it like resets the number of bait in their inventory

1 Like

when they reset the bait, just make a inventory item manager for bait. Now wire it so it clears the bait from inventory. Whatever happens – Clear Item. Now Make it activate the button through the same device.

1 Like

An IIM is an inventory item manager. QMechs are stuff that happen really fast. Look at this post:

Can you tell me how to reactivate it after though

Reactivate what?

The buttons

When do you want to reactivate it?

When they sell their fish which will reset the bait in their inventory

Ok. So I assume you have a fish selling mechanism. You make the button for that activate the button that you want to activate.

2 Likes

Ohh ok

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.