Limited Dual-wield options

Long story short, The dual-wield option doesn't restrict certain kinds of weapons. For balance purposes, I've only limit dual-wield to daggers however,


axes, swords, EVEN bows can be equipped to that spot. Normally, most of these weapons cannot be handled like dagger-axe, or dagger-bow, it 


doesn't make any sense.


I've made a somewhat fix to it. What I did was I first made an event where it checks the player if it is holding a certain weapon, then checks if it holds the


weapon in the shield slot if it is "forbidden/restricted", then put "none" to the shield slot. It works fine but at the same time, it can only execute if the


player exits the menu...


Is there anything that can help restrict the weapons types when dual wielding a certain weapon types. If there is one topic discussing this, I


didn't look hard enough...
Events dont run inside the menu because the menu scenes doesn't have an instance of Game_Interpreter... If you want to run events inside the menu scenes, you could get Tsukihime's Scene Interpreter script
The best way to lock bows and the like from such slots would be have two handed weapons count as two handed weapons. Wouldn't that make the second slot impossible to use?
I haven't worked much with dual wielding but if you set the item type to seal the second slot I would imagine it couldn't be equipped there to begin with.
Actually it wont work senkuri because when dual wield is activated, both slots become "Weapon" (the shield slot is actually gone)... So sealing the shield slot doesn't work for having a two-handed weapon type while the actor has dual wielding.. There's also no option to seal the second weapon slot. I've also tested it just in case.
Events dont run inside the menu because the menu scenes doesn't have an instance of Game_Interpreter... If you want to run events inside the menu scenes, you could get Tsukihime's Scene Interpreter script

The problem is that the menu is on the Equip scene menu, so it's still going to run outside the menu, not inside...
If you get the Scene Interpreter script it will run inside all menus including the Equip Menu because that's what the script is used for, to make Common Events be able to run in any scene/menu.

Original thread: https://forums.rpgmakerweb.com/threads/limited-dual-wield-options.70610/