GetLevItemIndexByForm
From GECK
A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.
Contents
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
(int) GetLevItemIndexByForm levelledList:baseform formToFind:baseform
Or:
(int) LListGetFormIndex levelledList:baseform formToFind:baseform
Example
GetLevItemIndexByForm CapsFortuneFinder Caps001