Resource:Creation Kit > AddArray - RefCollectionAlias
Member of: Resource:Creation Kit/RefCollectionAlias Script
Adds the contents of the array to this collection.
Syntax
Function AddArray(ObjectReference[] refArrayToAdd)
Parameters
- refArrayToAdd: The array whose contents should be added
Return Value
None.
Examples
; Add the array to the collection Ghosts.AddArray(EvenMoreGhosts)
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.
- Reference Aliases inside arrays will not be added to a collection if they are none. An error will be printed to the log if an element is none.
