Hey there I want to ask if it is possible to attach a variable to an item. For example actor 1 got a cool stone which adds one to the cool variable but if actor 1 loses the cool stone the cool variable goes down by one. I've been trying to find out how to make this work but I just can't come up with an answer. Also, my scripting skills are not that great so I want to know is it possible to do this without scripting?. If I need a plug-in to do this please link it I appreciate all the help I can get.
I want to attach a varieble to an item HELP!!!!!
RPG Maker MZ SupportThis should easily be done using Control Variables whenever the party gains or loses the item. Alternately, when you need to check the value, you can just use Control Variables to get the number of cool stones currently in inventory, and not have to worry about changing it when the item is acquired or lost.
For the first method, whenever you do a Change Items to add or remove a cool stone, also do a Control Variables to +1 or -1.
For the second method, whenever you need to check, just do a Control Variables and set the variable to Cool Stones in Inventory (in the Game Data option at the bottom of the Control Variables window).
If you can't get it working, show a screenshot of what you've got, explain what's happening at this point in the game (when/where the event is being run).
For the first method, whenever you do a Change Items to add or remove a cool stone, also do a Control Variables to +1 or -1.
For the second method, whenever you need to check, just do a Control Variables and set the variable to Cool Stones in Inventory (in the Game Data option at the bottom of the Control Variables window).
If you can't get it working, show a screenshot of what you've got, explain what's happening at this point in the game (when/where the event is being run).
Thanks I just realized I was pretty stupid because I did not see the basic answer to this thank you for the response
Original thread: https://forums.rpgmakerweb.com/threads/i-want-to-attach-a-varieble-to-an-item-help.143903/