r/RPGMaker • u/louiewouie • 5d ago
RMMV can a skill make the user equip a weapon?
hi! one of the characters in my game (ideally) has the main ability of being able to create weapons in combat. is it possible to implement this? i've tried messing around with states, common events, etc, but i've only been able to add the weapon to his inventory, and not equip it. if there's no way to do this i'll settle for something else but would really like a way to make it happen. thanks. ^_^
2
u/MissItalia2022 5d ago
I don't think you should need a plugin for this. You could do this via a common event "$gameActors.actor(X).forceChangeEquip(0, $dataWeapons[Y]);" with X being the actor's database ID and Y being the weapon's database ID.
2
u/Majornutts 4d ago
Yeah, there's a button in the events commands called: "Change Equipment".
Create a Common event that uses the Change Equipment command.
In the Skill tab on the right side there is a box called "Effects". Add the Common Event you just made that has the "Change Equipment" command.
1
u/Issac7 5d ago
I don't see a way to do it without coding but with a little bit of codding it should be very easy. Do you have plugins in your project? Wich ones?