RemoveNthLevItem

From GECK
(Redirected from LListRemoveNthForm)
Jump to: navigation, search


A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.

Description

Removes the leveled list entry at the given index for any LeveledItem, LeveledCreature, or LeveledNPC list.

Syntax

[help]
RemoveNthLevItem levelledList:baseform index:int 

Or:

LListRemoveNthForm levelledList:baseform index:int

Example

if GetNumLevItems CapsFortuneFinder 
    RemoveNthLevItem CapsFortuneFinder 0
endif

Would remove the first entry of CapsFortuneFinder, after checking there is an entry with GetNumLevItems

See Also