Background for Skyrim SE
Member of the JArray script
intfunctionfindInt(intobject, intvalue, intsearchStartIndex=0)NativeGlobal

Description

Documentation Comment

Returns the index of the first found value/container that equals to given the value/container (default behaviour if searchStartIndex is 0).
If nothing was found it returns -1.
@searchStartIndex - index of the array where to start search
negative index accesses items from the end of container counting backwards.


Caveats


Parameters

intobject

intvalue

intsearchStartIndex=0


Examples

Auto-Generated Example

int myInt__object
int myInt__value
int myInt__searchStartIndex

int returnedValue = JArray.findInt(myInt__object, myInt__value, myInt__searchStartIndex)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.