Hey guys, me again. Back with yet another hopefully simple script request! Thanks to all those who have helped me out so far with other things; hopefully this isn't much trouble to get sorted out.
In a nutshell, I want it to be so that players cannot unequip a weapon. Let me explain. I want you to be able to swap weapons for other weapons and all that, but I want to remove the option to unequip a weapon (leaving you holding nothing). My character starts out with no weapon, but equips one during a cutscene before any battles take place. Basically I want it so that you can only swap weapons for other weapons, and not leave yourself weaponless. From my damage formulas to weapon unleash scripts, the whole system relies on you having a weapon and an ATK stat, so I figured reworking all of those for weaponless situations was much harder than just preventing unequipping in the first place.
Can anyone help out a hopeless scripting neanderthal like myself? It would be greatly appreciated!
In a nutshell, I want it to be so that players cannot unequip a weapon. Let me explain. I want you to be able to swap weapons for other weapons and all that, but I want to remove the option to unequip a weapon (leaving you holding nothing). My character starts out with no weapon, but equips one during a cutscene before any battles take place. Basically I want it so that you can only swap weapons for other weapons, and not leave yourself weaponless. From my damage formulas to weapon unleash scripts, the whole system relies on you having a weapon and an ATK stat, so I figured reworking all of those for weaponless situations was much harder than just preventing unequipping in the first place.
Can anyone help out a hopeless scripting neanderthal like myself? It would be greatly appreciated!