- Found in:
- Vanilla
Description
Wiki Description
Removes the given reference from this collection
Documentation Comment
Takes the specific ref out of the collection
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
ObjectReferenceakRemoveRef
CK Wiki Description
The ObjectReference to remove from this alias
Examples
;Take us out of the collection
Alias_TownsPeople.RemoveRef(self)Auto-Generated Example
ObjectReference myObjectReference__akRemoveRef
myRefCollectionAlias__toCallFunctionOn.RemoveRef(myObjectReference__akRemoveRef)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
