Leveled list script functions
(not used in vanilla)
AddToLevCreature AddToLevItem RemoveFromLevCreature RemoveFromLevItem
These functions allow you to edit leveled lists while the game is running, and apply the changes to saves.
These functions are used to manipulate Leveled Item and Leveled Creature lists at runtime. Leveled lists are comprised of object/level pairs where the level is the level the PC has to be to encounter the object. The AddTo functions will add the given object/level pair to the specified leveled list as long as the list does not already contain a matching pair. The RemoveFrom functions will remove all occurrences of the object/pair from the leveled list.
Additionally, if a RemoveFrom function is given an object pair with a level of –1, all object pairs containing the specified object are removed.
Note: The RemoveFrom functions will not remove existing objects from the world. If a Leveled Creature reference has already calculated to be a certain creature, removing that creature from the Leveled Creature’s list will not get rid of the existing creature in the world. However it will prevent that Leveled Creature reference from calculating to be that creature again.
(...) Warning: It is not recommended that you use these functions as it will break any other mod that uses leveled lists. (...) if a script adds something to a Leveled List, it modifies the ESS (save game) and the save game then has a reference to that Leveled list. This is loaded last and it overwrites ANY changes done by other mods.
(RM-1546 from redmine: created on 2014-06-21 by rot tor, , closed on 2014-12-17 by scrawl .)