EnableNoWait - ObjectReference

From the CreationKit Wiki
Revision as of 08:12, 12 September 2012 by imported>JLundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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[edit | edit source]

Function EnableNoWait(bool abFadeIn = false) native

Parameters[edit | edit source]

  • 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[edit | edit source]

None.

Examples[edit | edit source]

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


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

Notes[edit | edit source]

  • 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.

See Also[edit | edit source]