AddRef - RefCollectionAlias
Revision as of 08:27, 16 February 2019 by imported>Qazaaq (Added collection size notes)
Member of: RefCollectionAlias Script
Adds the given ref to this collection
Syntax
Function AddRef(ObjectReference akNewRef) native
Parameters
- akNewRef: The ObjectReference to add to this alias
Return Value
None.
Examples
;Add us to the collection
Alias_TownsPeople.AddRef(self)
See Also
Notes
- 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.