Background for Fallout 4
Member of the RefCollectionAlias script
voidfunctionRemoveAll()Native

Description

Wiki Description

Clears all references out of this collection. Will error if this alias is not optional.

Documentation Comment

Empties all refs from 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.

Examples

; Clear the alias out
Alias_TownsPeople.RemoveAll()

Auto-Generated Example

myRefCollectionAlias__toCallFunctionOn.RemoveAll()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.