GetCount - RefCollectionAlias

Member of: RefCollectionAlias Script

Gets the number of refs in this collection

SyntaxEdit

int Function GetCount() native

ParametersEdit

None

Return ValueEdit

  • The number of refs in the collection

ExamplesEdit

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

NotesEdit

See AlsoEdit