empbeef Posted November 2, 2023 Share Posted November 2, 2023 (edited) 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 November 2, 2023 by empbeef Link to comment Share on other sites More sharing options...
scorrp10 Posted November 2, 2023 Share Posted November 2, 2023 Both Armor and Weapon classes have GetEnchantment() function. Though not sure if it is SKSE or not. Link to comment Share on other sites More sharing options...
IsharaMeradin Posted November 2, 2023 Share Posted November 2, 2023 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 More sharing options...
Recommended Posts