Difference between revisions of "AddRefCollection - RefCollectionAlias"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Plplecuyer
(Created page with "Category:Scripting Category:Papyrus '''Member of:''' RefCollectionAlias Script Adds the contents of the passed-in collection alias to this one. == Syntax == <source...")
 
imported>Qazaaq
(Added collection size notes)
 
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
'''Member of:''' [[RefCollectionAlias Script]]
'''Member of:''' [[RefCollectionAlias Script]]


Line 24: Line 22:
== See Also ==
== See Also ==
*[[RefCollectionAlias Script]]
*[[RefCollectionAlias Script]]
== 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]]

Latest revision as of 08:28, 16 February 2019

Member of: RefCollectionAlias Script

Adds the contents of the passed-in collection alias to this one.

Syntax[edit | edit source]

Function AddRefCollection(RefCollectionAlias refCollectionAliasToAdd)

Parameters[edit | edit source]

  • refCollectionAliasToAdd: The alias whose contents should be added to ours

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Merge the two aliases
Collection1.AddRefCollection(Collection2)

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.