I'm looking for a way for the player to be able to select any number of items at the same time with "select item," and then confirm all the ones they've selected at once, and I'm not sure if this is possible without a plugin or if I'd need one.
I'm making an ingredient-based crafting mechanic, and I'm currently using a single variable, and switches for every item. If an item is selected and the variable is set to it, that item's switch is turned on. Then when all of the selections are made and the player confirms that they're done, it checks which items' switches are on, makes the new item based on that, then turns them all off again.
If I could have them select all of the items they want to use at once instead of individually, I'm assuming that the way items are normally selected, with one variable set to one item, would have to change. This would probably involve setting multiple variables to the multiple items, which I could work with if I needed to by checking each of the variables that same way I'm already doing with the singular one and having them each flip the switches, but it would make things a lot more simple if I could control the switches of the items directly from the item selection with little to no variable involvement. If all of the selected items were still just setting the same singular variable, maybe there's a way to have it wait between selections to allow it time to flip each item's switch. Maybe I wouldn't even use "select item" at all to accomplish any of this, but I plan on having a lot of items and I want the list of them the way "select item" is formatted as opposed to something like choices.
Being able to deselect the items too when they're selecting them would also be good if it's possible.
I'm making an ingredient-based crafting mechanic, and I'm currently using a single variable, and switches for every item. If an item is selected and the variable is set to it, that item's switch is turned on. Then when all of the selections are made and the player confirms that they're done, it checks which items' switches are on, makes the new item based on that, then turns them all off again.
If I could have them select all of the items they want to use at once instead of individually, I'm assuming that the way items are normally selected, with one variable set to one item, would have to change. This would probably involve setting multiple variables to the multiple items, which I could work with if I needed to by checking each of the variables that same way I'm already doing with the singular one and having them each flip the switches, but it would make things a lot more simple if I could control the switches of the items directly from the item selection with little to no variable involvement. If all of the selected items were still just setting the same singular variable, maybe there's a way to have it wait between selections to allow it time to flip each item's switch. Maybe I wouldn't even use "select item" at all to accomplish any of this, but I plan on having a lot of items and I want the list of them the way "select item" is formatted as opposed to something like choices.
Being able to deselect the items too when they're selecting them would also be good if it's possible.