- Found in:
- Vanilla
Description
Wiki Description
Adds the given ref to this collection
Documentation Comment
Adds the given ref to this ref 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
ObjectReferenceakNewRef
CK Wiki Description
The ObjectReference to add to this alias
Examples
;Add us to the collection
Alias_TownsPeople.AddRef(self)Auto-Generated Example
ObjectReference myObjectReference__akNewRef
myRefCollectionAlias__toCallFunctionOn.AddRef(myObjectReference__akNewRef)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
