EnableNoWait - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script

Enables this reference, popping it into existence. This function will return immediately and not wait for the object to be enabled or faded in.

Syntax

Function EnableNoWait(bool abFadeIn = false) native

Parameters

  • abFadeIn: Whether to fade in the object or not. If this is an enable parent the children will not be faded.
    • Default: False

Return Value

None.

Examples

; Enables the reference, popping it in
TempReference.EnableNoWait()


; Enables the reference, fading it in
TempReference.EnableNoWait(true)

Notes

  • Small objects will never fade.
  • Children of an enable parent will not fade and will simply pop into existence when the parent object has finished fading.
  • EnableNoWait and DisableNoWait may produce unreliable results if both are called on an object in quick succession.

See Also