Difference between revisions of "RemoveRef - RefCollectionAlias"
Jump to navigation
Jump to search
imported>Plplecuyer |
imported>Qazaaq (Added collection size notes) |
||
Line 1: | Line 1: | ||
'''Member of:''' [[RefCollectionAlias Script]] | '''Member of:''' [[RefCollectionAlias Script]] | ||
Removes the given | Removes the given reference from this collection | ||
== Syntax == | == Syntax == | ||
Line 24: | Line 21: | ||
== Notes == | == 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 - RefCollectionAlias|GetCount]] function. | |||
== See Also == | == See Also == | ||
*[[RefCollectionAlias Script]] | *[[RefCollectionAlias Script]] | ||
*[[ | *[[Clear - LocationAlias|LocationAlias-Clear]] | ||
*[[ | *[[Clear - ReferenceAlias|ReferenceAlias-Clear]] | ||
[[Category:Scripting]] | |||
[[Category:Papyrus]] | |||
[[Category:Non-Delayed Native Functions]] |
Revision as of 08:31, 16 February 2019
Member of: RefCollectionAlias Script
Removes the given reference from this collection
Syntax
Function RemoveRef(ObjectReference akRefToRemove) 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.