GetCount - RefCollectionAlias

Revision as of 10:20, 3 December 2015 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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