As the title suggests, I'm looking for a way to disable most of a player's weapons. It won't work to remove them from the inventory; I'm trying to keep them visible, but unusable.
I want to create a limited number of weapon slots that the player can have ready to equip at any one time. Weapons that aren't made ready in this way cannot be equipped in combat. When the player tries to equip a non-ready weapon, it will send up a dialogue box where the appropriate slot can be chosen.
I've been surfing the CK wiki for some time, but I can't find any good solutions -- I could add a script to the player for access to OnObjectEquipped, then unequip any improper items as the player attempts to put them on, but it wouldn't be very clean.
Ideally, I'd like to intercept the equip command so that my script can decide whether or not to continue. Is this possible?