Jump to content

How to detect if item is enchanted?


empbeef

Recommended Posts

Hi all. I'm trying to add a script on to a player alias. I want the script to change a variable when any enchanted weapons or armour are picked up. I'm a little confused with how to do this though, any help would be appreciated.

 

Edited by empbeef
Link to comment
Share on other sites

GetEnchantment is an SKSE function. It works with weapons and armors to detect pre-defined enchantments. Player created enchantments will require the use of the individual instance object (i.e. object reference) in conjunction with GetEnchantment rather than the base object.

 

I know of no good non-SKSE method to obtain the information you seek.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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