DisableAll - RefCollectionAlias

From the Fallout4 CreationKit Wiki
Revision as of 10:29, 3 December 2015 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus '''Member of:''' RefCollectionAlias Script Calls DisableNoWait on all the references in the c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]