im trying to use a buy system so you can buy an object in a menu and use it in a diffrent one, the thing is, i dont know how to make dependant menu items, is there code for this?
needing help,
-KING
im trying to use a buy system so you can buy an object in a menu and use it in a diffrent one, the thing is, i dont know how to make dependant menu items, is there code for this?
needing help,
-KING
You could make an array that is your inventory and when you bux something xou add it to the array. If you want to see your inventory you can loop though the array and create a menu item for each element. If you want to check if you have a specific item you can do if(inventory.indexOf(item) != -1)
What kind of objects are they? And are you working in JS or blocks?