DamarStiehl Posted September 28, 2014 Share Posted September 28, 2014 According to CK Wiki, this function "Removes all script added forms from the leveled list." However, what is the scope of it? Does it only remove forms added by the mod which calls this function, or ALL script added forms added by ALL mods, when run against a "vanilla" leveled list? For example, Mod 1 has a script that does: ArmorImperialHeavyHelmets.AddForm(ImperialBucketHelmet, 1,1) Now ArmorImperialHeavyHelmets (which is a vanilla leveled list) has Imperial Bucket Helmet in it. Mod 2 executes this: ArmorImperialHeavyHelmets.AddForm(ImperialPotHelmet, 1,1) Now ArmorImperialHeavyHelmets contains both the Imperial Bucket Helmet from Mod 1 and Imperial Pot Helmet from Mod 2. Now, Mod 1 executes: ArmorImperialHeavyHelmets.Revert(). Will this clear both the Pot Helmet and Bucket Helmet from the list or JUST the Bucket Helmet? Link to comment Share on other sites More sharing options...
IsharaMeradin Posted September 28, 2014 Share Posted September 28, 2014 If Revert() works the same with leveled lists as it does with form lists, then both helmets would be removed. The Revert() function restores the list to its status as loaded by the ESM & ESP files. It wipes out anything added via script. Link to comment Share on other sites More sharing options...
DamarStiehl Posted September 28, 2014 Author Share Posted September 28, 2014 Actually apparently it does not (after some looking, I realized that I had a potential test platform already set up). In my case, running Revert() from the second mod only removed the items added by that mod. Learn something new every day I guess... :) Link to comment Share on other sites More sharing options...
Recommended Posts