Jump to content

[Request] Automatically unequip armor when it breaks


Troutland

Recommended Posts

Sorry if a mod like this exists, but I couldn't find one. Just looking for a mod that automatically unequips whatever armor (clothing,helmet,etc.) you're wearing when its condition hits 0 and it breaks. Thanks!

Edited by Troutland
Link to comment
Share on other sites

Hmmm I recall one, but I think one could be made with a bit of elbow grease and you don't mind using NVSE. There's a function that lets you get the item health of an equipped item by body/equipment slot. Almost all armor is #2 upper body slot, and most helmets will be 0 (head, although there are several other body slots that are in the area, like headband, hat etc). A quest script on the player checking every second or so can store that var and toss it over to an the vanilla UnequipItem function and it'll bounce back into the players inventory. Just need to tie it together, but it seems pretty straight forward.

 

If you'd like I can look into putting it together for you, just be forewarned I'v got a lot of projects and requests I'm juggling so it might be a bit before I get to it.

Link to comment
Share on other sites

Hmmm I recall one, but I think one could be made with a bit of elbow grease and you don't mind using NVSE. There's a function that lets you get the item health of an equipped item by body/equipment slot. Almost all armor is #2 upper body slot, and most helmets will be 0 (head, although there are several other body slots that are in the area, like headband, hat etc). A quest script on the player checking every second or so can store that var and toss it over to an the vanilla UnequipItem function and it'll bounce back into the players inventory. Just need to tie it together, but it seems pretty straight forward.

 

If you'd like I can look into putting it together for you, just be forewarned I'v got a lot of projects and requests I'm juggling so it might be a bit before I get to it.

 

I'd really appreciate it if you can put one together however long it takes! :laugh: I tried poking around GECK for a while and after going through the tutorials, I just got more confused how the whole thing works (never been into any kind of scripting). As for NVSE, half of the mods I have already use it, so no need to worry about that :smile:

Link to comment
Share on other sites

  • Recently Browsing   0 members

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