EnableLinkChain - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

This function enables all the linked refs, linked in a chain, from this reference (but not this reference). Does not wait for all the references to fade in or enable before returning.

Syntax[edit | edit source]

Function EnableLinkChain(Keyword apKeyword = None, bool abFadeIn = false) native

Parameters[edit | edit source]

  • apKeyword: Keyword to check ref link against (see GetLinkedRef.)
    • Default: None
  • abFadeIn: If true, will fade in the references. Otherwise they will pop in.
    • Default: False

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Enable every ref linked to startRef in a chain
startRef.EnableLinkChain()


; Enable every ref linked to startRef using the special keyword
startRef.EnableLinkChain(SpecialKeyword)

See Also[edit | edit source]