Good morning,
When Actors in my project change classes, they're equipment slots and slot order update as well sometimes. Because of this, their base slots can go from:
To:
Due to class change (and sometimes equipment change)
In this scenario the slots went from [1, 2, 5, 3, 4] to [1, 2, 14, 5, 3 ,4 ] (( 5's display name just changed but its still the same equipment type) when the class was changed to "Bow".
The problem I'm running into is when an armor is already set to any slot:
and the slots update:
Equipment that should no longer be able to be equipped, remains in the slot.
Is there a script I could set into a plugin to force a check that unequips things that shouldn't be in use every time equipment changes and class changes? There is a need for both checks as Equipment Drives Class Change and sometimes Slots change, while Class Drives Slots change and Equipment and Armor Type Access.
Bonus if the equipment can look for an appropriate empty slot and be moved there instead. But definitely not a need!
Thanks in advance
When Actors in my project change classes, they're equipment slots and slot order update as well sometimes. Because of this, their base slots can go from:
To:
Due to class change (and sometimes equipment change)
In this scenario the slots went from [1, 2, 5, 3, 4] to [1, 2, 14, 5, 3 ,4 ] (( 5's display name just changed but its still the same equipment type) when the class was changed to "Bow".
The problem I'm running into is when an armor is already set to any slot:
and the slots update:
Equipment that should no longer be able to be equipped, remains in the slot.
Is there a script I could set into a plugin to force a check that unequips things that shouldn't be in use every time equipment changes and class changes? There is a need for both checks as Equipment Drives Class Change and sometimes Slots change, while Class Drives Slots change and Equipment and Armor Type Access.
Bonus if the equipment can look for an appropriate empty slot and be moved there instead. But definitely not a need!
Thanks in advance