Background for Skyrim SE
Member of the ObjectReference script
voidfunctionDisableLinkChain(KeywordapKeyword=NONE, boolabFadeOut=false)

Description

Wiki Description

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

Documentation Comment

Disables 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

boolabFadeOut=false


Examples

; Disable every ref linked to startRef in a chain
startRef.DisableLinkChain()
; disable every ref linked to startRef using the special keyword
startRef.DisableLinkChain(SpecialKeyword)

Auto-Generated Example

Keyword myKeyword__apKeyword
bool myBool__abFadeOut

myObjectReference__toCallFunctionOn.DisableLinkChain(myKeyword__apKeyword, 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.