Thanks for the screenshot! I will let you know when I have done it!
Viewing post in Hakuen Studio QoL Commands 1 for RPG Maker MZ comments
Hello there!
I saw the plugin you recently released. Character Generator is a very amazing and useful plugin. I'm going to buy it when I need it.
And I can still wait longer, but I was just worried that you were too busy to forget the update of QoL Plugin. I've seen you update other plugins recently so I'm thinking of it as hope. Thank you :)
Hey there!
Thanks for the remind me! I have released an updated version, and the problem of the multiple ids is now solved.
But I couldn't find a reason to put that new plugin command into this plugin. Since the arguments also accept formulas.
So I will give you a way with a script call to store the id of equipment into a variable:
- $gameParty.members()[MemberIndex].equips()[SlotId]?.id || 0
OR
- $gameActors.actor(ActorID).equips()[SlotId]?.id || 0
- Replace MemberIndex with the position of the party member(always start at 0) you want to get the Equip Id.
- Replace SlotId with the slot ID(always start at 0) if you want to get the equip id.
- Replace the Actor Id with the ID of the actor.
If there is no equipment on the slot, the value returned will be 0.
Example below: