DisableAll - RefCollectionAlias

From Creation Kit
Jump to: navigation, search

Member of: RefCollectionAlias Script

Calls DisableNoWait on all the references in the collection.

Syntax

Function DisableAll(bool bFadeOut = false)

Parameters

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

Return Value

None.

Examples

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


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

Notes

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

See Also