AddRefCollection - RefCollectionAlias

From Creation Kit
Jump to: navigation, search

Member of: RefCollectionAlias Script

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

Syntax

Function AddRefCollection(RefCollectionAlias refCollectionAliasToAdd)

Parameters

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

Return Value

None.

Examples

; Merge the two aliases
Collection1.AddRefCollection(Collection2)

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.