RemoveRef - RefCollectionAlias

From the Fallout4 CreationKit Wiki
Revision as of 12:15, 19 June 2019 by imported>Ice Eyes (→‎Parameters: Corrected parameter name)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: RefCollectionAlias Script

Removes the given reference from this collection

Syntax[edit | edit source]

Function RemoveRef(ObjectReference akRemoveRef) native

Parameters[edit | edit source]

Return Value[edit | edit source]

None.

Examples[edit | edit source]

;Take us out of the collection
Alias_TownsPeople.RemoveRef(self)

Notes[edit | edit source]

  • 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.

See Also[edit | edit source]