DisableAll - RefCollectionAlias

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: RefCollectionAlias Script

Calls DisableNoWait on all the references in the collection.

Syntax[edit | edit source]

Function DisableAll(bool bFadeOut = false)

Parameters[edit | edit source]

  • bFadeOut: Whether to fade out or not
    • Default: False

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Disable all the items in the collection
Stage1Items.DisableAll()


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

Notes[edit | edit source]

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

See Also[edit | edit source]