Difference between revisions of "AddRef - RefCollectionAlias"
Jump to navigation
Jump to search
imported>Plplecuyer |
imported>Qazaaq (Added collection size notes) |
||
Line 1: | Line 1: | ||
'''Member of:''' [[RefCollectionAlias Script]] | '''Member of:''' [[RefCollectionAlias Script]] | ||
Line 27: | Line 24: | ||
*[[RemoveRef - RefCollectionAlias]] | *[[RemoveRef - RefCollectionAlias]] | ||
*[[Find - RefCollectionAlias]] | *[[Find - RefCollectionAlias]] | ||
== 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 - RefCollectionAlias|GetCount]] function. | |||
[[Category:Scripting]] | |||
[[Category:Papyrus]] | |||
[[Category:Non-Delayed Native Functions]] |
Latest revision as of 08:27, 16 February 2019
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.