RemoveAll - RefCollectionAlias

Member of: RefCollectionAlias Script

Clears all references out of this collection. Will error if this alias is not optional.

SyntaxEdit

Function RemoveAll() native

ParametersEdit

None.

Return ValueEdit

None.

ExamplesEdit

; Clear the alias out
Alias_TownsPeople.RemoveAll()

See AlsoEdit

NotesEdit

  • A RefCollectionAlias will automatically shrink and expand its size when items are added or removed. The collection's count can be measured with the GetCount function.