Mod:Creation Kit/GetCount - RefCollectionAlias

Member of: Mod:Creation Kit/RefCollectionAlias Script

Gets the number of refs in this collection

Syntax
int Function GetCount native

Parameters
None

Return Value

 * The number of refs in the collection

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