So, I'm using a script called Custom Equipment Slots Script by Fomar. I am not having any problems with the script, so please don't say that this needs to be in the Scripts forum 🙂 I'm just giving you background for the issue I'm tackling.
Basically, one of my actors can equip ranged weapons. These include bows, crossbows, slingshots, and guns. They are all collectively part of the "Bow" category of weapons currently. This needs to change. I will make 4 new weapon classes that this actor can equip, and that will be no problem.
However, I need to figure out how to implement ammo. Instead of a shield or dual wield, this actor can equip ammo in the second hand. I can make it so she can equip all 4 types of ammo (arrows, bolts, pellets, and bullets), but I encounter an issue in that she can equip Silver Bullets with her Lightning Bow, which doesn't make a whole lot of sense.
How might I implement a feature that only lets Arrows be used with Bows, Bolts with Crossbows, Pellets with Slingshots, and Bullets with Guns?
If I add the Equip Armor feature to a bow and set it to Arrows, this lets her equip ammo in every armor slot.
Basically, one of my actors can equip ranged weapons. These include bows, crossbows, slingshots, and guns. They are all collectively part of the "Bow" category of weapons currently. This needs to change. I will make 4 new weapon classes that this actor can equip, and that will be no problem.
However, I need to figure out how to implement ammo. Instead of a shield or dual wield, this actor can equip ammo in the second hand. I can make it so she can equip all 4 types of ammo (arrows, bolts, pellets, and bullets), but I encounter an issue in that she can equip Silver Bullets with her Lightning Bow, which doesn't make a whole lot of sense.
How might I implement a feature that only lets Arrows be used with Bows, Bolts with Crossbows, Pellets with Slingshots, and Bullets with Guns?
If I add the Equip Armor feature to a bow and set it to Arrows, this lets her equip ammo in every armor slot.