Is there a way to make it so that when the player un-equips a weapon, it will then insert a different weapon into the empty weapon slot untill it is switched out with another weapon that player chooses.
For example: If a player has a bronze sword equipped, then they un-equip it without putting in a new weapon. A weapon named fists will appear in that empty slot untill a new weapon is in the weapon slot, then fists would be remove.
Reason for needing this: I have a battle system that only works as long as you have a weapon equipped. So if the player doesn't know this and just so happens to have no weapon equipped, then they would keep getting an error each time they enter battle.
(I tried to make this as clear as possible, so please help if you can, also I didn't think this would be considered scripting, so I'm sorry if this is in the wrong forum)
For example: If a player has a bronze sword equipped, then they un-equip it without putting in a new weapon. A weapon named fists will appear in that empty slot untill a new weapon is in the weapon slot, then fists would be remove.
Reason for needing this: I have a battle system that only works as long as you have a weapon equipped. So if the player doesn't know this and just so happens to have no weapon equipped, then they would keep getting an error each time they enter battle.
(I tried to make this as clear as possible, so please help if you can, also I didn't think this would be considered scripting, so I'm sorry if this is in the wrong forum)