winteriphone Posted May 2, 2018 Share Posted May 2, 2018 (edited) First I wanted to thank everyone for their help on my last question. This question is some what complex for me to figure out. I have spent many hours googling and searching for an answer with out luck. Mainly what this mod will do is when a player clicks on a button they will receive all the enchantments I have stored in a FormID List. The issue I'm having is I need to write it in a "While" statement however, I am unclear how to do this correctly. Thanks -Skyrim Special Edition Xbox- Example of one Enchantment in my FormID List: EnchWeaponAbsorbHealthBase "Absorb Health" [ENCH:0010FB91] Formlist property AllEnchantments Auto Actor Property PlayerRef Auto Event OnActivate(ObjectReference akActivator) Int Index = 0 While Index < AllEnchantments.GetSize() (AllEnchantments.getAt(Index)).SetPlayerKnows(true) Index += 1 EndWhile debug.MessageBox("Finished Adding All Enchantments") EndEvent Edited May 2, 2018 by winteriphone Link to comment Share on other sites More sharing options...
Recommended Posts