Background for Skyrim SE
Member of the FormList script
intfunctionGetSize()Native

Description

Wiki Description

Returns the number of items in the list.

Documentation Comment

Returns the number of forms in the list


Caveats


Examples

FormList Property kFormList Auto

Function ExampleFunction()
    Int iIndex = kFormList.GetSize()
    While iIndex > 0
        iIndex -= 1
        Debug.Trace("Form " + iIndex + " is " + kFormList.GetAt(iIndex))
    EndWhile
EndFunction

Auto-Generated Example

int returnedValue = myFormList__toCallFunctionOn.GetSize()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.