Background for Fallout 4
Member of the FormList script
FormfunctionGetAt(intaiIndex)Native

Description

Wiki Description

Returns the form at a specified index in the list.

Documentation Comment

Returns the form at index 'aiIndex' in the list


Caveats


Parameters

intaiIndex

CK Wiki Description

The index in the list we want to fetch the form from

  • The index is 0-based. If a list has 3 items in it, valid indices are:0, 1 and 2

Examples

; Print out the forms in the list
FormList property list auto
int index = 0
While (index < list.GetSize())
  Debug.Trace("Form " + index + " is " + list.GetAt(index))
  index = index + 1
EndWhile

Auto-Generated Example

int myInt__aiIndex

Form returnedValue = myFormList__toCallFunctionOn.GetAt(myInt__aiIndex)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.