Background for Fallout 4
Member of the RefCollectionAlias script
voidfunctionDisableAll(boolbFadeOut=false)

Description

Wiki Description

Calls ObjectReference.DisableNoWait(...) on all the references in the collection.

Documentation Comment

kmk
Disable everyone in the collection


Caveats

CK Wiki - Notes

Because this uses DisableNoWait, the references will not necessarily have faded or been disabled by the time this function returns.


Parameters

boolbFadeOut=false

CK Wiki Description

Whether to fade out or not

  • Default:False

Examples

; Disable all the items in the collection
Stage1Items.DisableAll()
; Disable all the items with fading
Ghosts.DisableAll(true)

Auto-Generated Example

bool myBool__bFadeOut

myRefCollectionAlias__toCallFunctionOn.DisableAll(myBool__bFadeOut)

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.