Jump to content

Check if an item is enchanted with or without skse


Grantiz

Recommended Posts

So with my mod Smelter Options - Take It! I would really like it if I could add the arcane smithing perk to breaking down items. So if you have a daedric armor with an enchantment you wouldn't be able to break it down unless you have arcane smithing.

 

So far I can't seem to get the skse command GetEnchantment() to work.

I just get the "GetEnchantment is not a function or does not exist"

 

I have installed SKSE correctly because other such command work fine.

 

So far the script kind of looks like this:

 

Event OnItemAdd

Enchantment Enchant = akBaseItem.GetEnchantment()

End Event

I don't know what I'm doing wrong.

 

Link to comment
Share on other sites

  • 2 months later...
  • 6 months later...
  • Recently Browsing   0 members

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