I have 5 equipment parts:
head
chest
pants
feet
weapon
In the inspector, only 3 show up:
Head
Chest
Pants
(On the Combatant Component under Equipment)
I'm adding items via script, eg:
EquipShortcut es = new EquipShortcut(EquipSet.Weapon, weapon.ID, 1, 3);
combatant.Equipment.Equip(partIndex, es, null, true);
If I try to equip to a part not seen in the editor, it doesn't work. Equip returns false, but not further information when it fails. Why are the other parts hidden? Why don't they work? (Hidden is not checked in the ORK asset)
combatant.Equipment.equipment[x].Available = false for the ones not showing up.
ie
- [x] {ORKFramework.EquipPartSlot} ORKFramework.EquipPartSlot
Available false System.Boolean
Blocked false System.Boolean
DisplayViewer true System.Boolean
Equipment null ORKFramework.EquipShortcut
Equipped false System.Boolean
Linked false System.Boolean
Locked false System.Boolean
AvailableEquipment.equipPart is false on the ones not showing up as well. How do I get these to true?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!