RemoveRef - RefCollectionAlias
Revision as of 12:14, 19 June 2019 by imported>Ice Eyes (→Syntax: Corrected parameter name)
Member of: RefCollectionAlias Script
Removes the given reference from this collection
Syntax
Function RemoveRef(ObjectReference akRemoveRef) native
Parameters
- akRefToRemove: The ObjectReference to remove from this alias
Return Value
None.
Examples
;Take us out of the collection
Alias_TownsPeople.RemoveRef(self)
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.