Background for Fallout 4
Member of the RefCollectionAlias script
voidfunctionAddRefCollection(RefCollectionAliasrefCollectionAliasToAdd)

Description

Wiki Description

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


Caveats

CK Wiki - 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 RefCollectionAlias.GetCount() function.

Parameters

RefCollectionAliasrefCollectionAliasToAdd

CK Wiki Description

The alias whose contents should be added to ours


Examples

; Merge the two aliases
Collection1.AddRefCollection(Collection2)

Auto-Generated Example

RefCollectionAlias myRefCollectionAlias__refCollectionAliasToAdd

myRefCollectionAlias__toCallFunctionOn.AddRefCollection(myRefCollectionAlias__refCollectionAliasToAdd)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.