Mod:Creation Kit/DisableNoWait - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Disables this reference, fading it out if necessary. This function will not wait for the fade or the disable to happen before returning.

Syntax
Function DisableNoWait(bool abFadeOut = False) native

Parameters

 * abFadeOut: Whether to fade the item out or not. If this is an enable parent the children will not be faded.
 * Default: False

Return Value
None.

Examples
TempReference.DisableNoWait TempReference.DisableNoWait(true)
 * Disables the reference, popping it out
 * Disables the reference, fading it out