Jump to content

LeveledItem.Revert()


DamarStiehl

Recommended Posts

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

  • Recently Browsing   0 members

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