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

Description

Wiki Description

Gets the number of refs in this collection

Documentation Comment

Gets the count of refs in the collection


Caveats


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 returnedValue = myRefCollectionAlias__toCallFunctionOn.GetCount()

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.