AddRef - RefCollectionAlias
Member of: RefCollectionAlias Script
Adds the given ref to this collection
SyntaxEdit
Function AddRef(ObjectReference akNewRef) native
ParametersEdit
- akNewRef: The ObjectReference to add to this alias
Return ValueEdit
None.
ExamplesEdit
;Add us to the collection
Alias_TownsPeople.AddRef(self)
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.