Difference between revisions of "AddArray - RefCollectionAlias"
Jump to navigation
Jump to search
imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus '''Member of:''' RefCollectionAlias Script Adds the contents of the array to this collection. == Syntax == <source lang="papyrus...") |
imported>Qazaaq (Added collection size notes) |
||
Line 1: | Line 1: | ||
'''Member of:''' [[RefCollectionAlias Script]] | '''Member of:''' [[RefCollectionAlias Script]] | ||
Line 21: | Line 19: | ||
Ghosts.AddArray(EvenMoreGhosts) | Ghosts.AddArray(EvenMoreGhosts) | ||
</source> | </source> | ||
== 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. | |||
== See Also == | == See Also == | ||
*[[RefCollectionAlias Script]] | *[[RefCollectionAlias Script]] | ||
[[Category:Scripting]] | |||
[[Category:Papyrus]] |
Revision as of 08:26, 16 February 2019
Member of: 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.