Background for Skyrim SE
Member of the ObjectReference script
voidfunctionDisableNoWait(boolabFadeOut=false)Native

Description

Wiki Description

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

Documentation Comment

Disables this object - fading out if requested. Does NOT wait for the fade or disable to finish


Caveats

CK Wiki - Notes

  • Small objects will never fade.
  • Children of an enable parent will not fade and will simply pop out of existence when the parent object has finished fading.

Parameters

boolabFadeOut=false

CK Wiki Description

Whether to fade the item out or not. If this is an enable parent the children will not be faded.

  • Default:False

Examples

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

Auto-Generated Example

bool myBool__abFadeOut

myObjectReference__toCallFunctionOn.DisableNoWait(myBool__abFadeOut)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.