AddRef - RefCollectionAlias
Jump to navigation
Jump to search
Member of: RefCollectionAlias Script
Adds the given ref to this collection
Syntax[edit | edit source]
Function AddRef(ObjectReference akNewRef) native
Parameters[edit | edit source]
- akNewRef: The ObjectReference to add to this alias
Return Value[edit | edit source]
None.
Examples[edit | edit source]
;Add us to the collection
Alias_TownsPeople.AddRef(self)
See Also[edit | edit source]
Notes[edit | edit source]
- 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.