AddNPCToLeveledList

< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

Description

AddNPCToLeveledList Adds a form to a LeveledCharacter list. This should be used in the RARE case where we want to add an item to a LeveledCharacter list that already exists in the ESM. It's primary use it for modifying lists from the base game in downloadable content. In most cases you should add items to form lists in the editor object windows. This is for those special cases where you want to alter the contents of a list at runtime or want to change it without putting it in your ESP/ESM file. Once altered using this function, it will persist in the save game data. (parameters are Base Objects)

It can not be undone.

Syntax

AddNPCToLeveledList LeveledCharacterList NPCorLeveledCharacterToAdd iLevel:int

Example

AddNPCToLeveledList EncRaiderMelee VarNewHighLevelMeleeWieldingRaider 20

Leveled Actors based on the EncRaiderMelee LeveledCharacter list now pull an NPC from VarNewHighLevelMeleeWieldingRaider list at encounter level 20.

Notes

  • This function is new in the GECK, and was not available in the TES4 Construction Set.

See Also