Jump to content

Script to change Worn Armor


Recommended Posts

Working on a mod that lets you skin enemies and wear their skin, mainly for beast races oweing to the entire Khajiit fur trade black market so what i'm trying to figure out how to do is 2 fold

 

on equip of a skin item check what is the worn armor in the same node (body, hand, feet) and unequip it and show it in inventory

on equip, the items equipped (and any enchants on it) becames the new defaul worn armor for that node hand,s feet or body)

 

any ideas?

Link to comment
Share on other sites

You can use GetWornForm (requires SKSE) to store the currently worn items. Its much easier to store what is worn than trying to catch the items as they are unequipped. You may need to have a script on the actor (or actor alias) that uses the OnObjectEquipped event to obtain the newly worn items. Obviously, you'd need checks in place to ensure that you aren't wiping the last worn with the newly added skin item.

 

As far as enchantments, you may want to try some combination of GetEnchantment and SetEnchantment. Both of which require SKSE and I've never used them so cannot help with getting them to work.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...