AddNPCToLeveledList

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

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

[help]
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.

See Also