In my script I am trying to add an effect to the enchantment, but nothing seems to work.
The script compiles, but when I reload the esp in the CS, it reports an error saying that the reference (in the AddFullEffectItem statement) is invalid.
The code I am trying is:
AddFullEffectItem SHLD 5 0 0 0 helm
I also tried:
set enchant to GetEnchantment helm
AddFullEffectItem SHLD 5 0 0 0 enchant
When I run the mod despite the error that is reported, the script crashes.
I also tried to test from the console in game, but it doesn't seem to recognize the effect codes.
I can't seem to figure out how to use this function.