AddRef - RefCollectionAlias

From Creation Kit
Jump to: navigation, search

Member of: RefCollectionAlias Script

Adds the given ref to this collection

Syntax

Function AddRef(ObjectReference akNewRef) native

Parameters

Return Value

None.

Examples

;Add us to the collection
Alias_TownsPeople.AddRef(self)

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.