GetLevItemIndexByForm

From GECK
Jump to: navigation, search


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

Description

Returns the index of the first entry containing the given form, or -1 if the form is not found. (Equivalent to using ListGetFormIndex for a FormList)

Syntax

[help]
(int) GetLevItemIndexByForm levelledList:baseform formToFind:baseform 

Or:

(int) LListGetFormIndex levelledList:baseform formToFind:baseform

Example

GetLevItemIndexByForm CapsFortuneFinder Caps001 

See Also