Background for Skyrim SE
Member of the ObjectReference script
voidfunctionEnableLinkChain(KeywordapKeyword=NONE)

Description

Wiki Description

This function enables all the linked refs, linked in a chain, from this reference.

Documentation Comment

Enables all of the references that are linked, in a chain, to this one.


Caveats

CK Wiki - Notes

Do not use this on a link chain that is linked in a loop or it will cause an endless loop.


Parameters

KeywordapKeyword=NONE

CK Wiki Description

Keyword to check ref link against (see ObjectReference.GetLinkedRef(...).)

  • Default:None

Examples

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

Auto-Generated Example

Keyword myKeyword__apKeyword

myObjectReference__toCallFunctionOn.EnableLinkChain(myKeyword__apKeyword)

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.