I'd like to scope some items to a variable so that when I select another item excluding those items, I lose those items.
To do this, rather than selecting one item in the item increase/decrease event, I want to put the item value of the specified variable, but the item is selected unconditionally in the item increase/decrease event.
Can you make this into a script?
For example.
I have items A, B, C, and D.
If A or B or C is selected in the item selection event, a value other than D is put into the variable and the item selected by the player among A, B, and D disappears.
To make one by one, a variable is needed because there are actually about a hundred items.
To do this, rather than selecting one item in the item increase/decrease event, I want to put the item value of the specified variable, but the item is selected unconditionally in the item increase/decrease event.
Can you make this into a script?
For example.
I have items A, B, C, and D.
If A or B or C is selected in the item selection event, a value other than D is put into the variable and the item selected by the player among A, B, and D disappears.
To make one by one, a variable is needed because there are actually about a hundred items.