Background for Fallout 4
Member of the RefCollectionAlias script
ObjectReferencefunctionGetAt(intaiIndex)Native

Description

Wiki Description

Gets the ref at the given index in this collection

Documentation Comment

Gets the ref at the given index in the collection


Caveats


Parameters

intaiIndex

CK Wiki Description

The index to get the ref at


Examples

;Disable all in collection
int icount = Alias_TownsPeople.GetCount()
int iindex = 0
while (iindex < icount)
  Alias_TownsPeople.GetAt(iindex).Disable()
  iindex = iindex + 1
endwhile

Auto-Generated Example

int myInt__aiIndex

ObjectReference returnedValue = myRefCollectionAlias__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.