F4llfield Posted March 26, 2023 Share Posted March 26, 2023 (edited) I'm using the WornItem to get a clothing item at a specific slot and unequip it. But how can I store this item, so that later in my script I can equip it ? added: Currently, I'm trying to use a quest as a container to store the WornItem but it's not working. I'm not sure if I need to store the complete WornItem structure or just the WornItem.Item. In any case, my attempt all fail so far. Edited March 26, 2023 by F4ll0uta Link to comment Share on other sites More sharing options...
RaidersClamoring Posted March 26, 2023 Share Posted March 26, 2023 You could create a struct that holds the clothing form and bipedslot info. Struct EquipStruct Armor ArmorPiece Int bpSlotEndStructEquipStruct SFunction GetEquipInfo(Int slot) S = new EquipStruct S.ArmorPiece = Game.GetPlayer().GetWornItem(slot).model as Armor ; or .item S.bpSlot = slotEndFunction Link to comment Share on other sites More sharing options...
F4llfield Posted March 26, 2023 Author Share Posted March 26, 2023 Thanks a lot, it works as Advertised! :--) Link to comment Share on other sites More sharing options...
Recommended Posts