Difference between revisions of "DisableLinkChain - ObjectReference"
Jump to navigation
Jump to search
→Syntax
imported>Scornett m (Reverted edits by Scornett-Bot (talk) to last revision by Jlundin) |
imported>Thingy Person (→Syntax) |
||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function DisableLinkChain(Keyword apKeyword = None) | Function DisableLinkChain(Keyword apKeyword = None, bool abFadeOut = false) | ||
ObjectReference CurrentLink = GetLinkedRef(apKeyword) | |||
While CurrentLink | |||
CurrentLink.Disable(abFadeOut) | |||
CurrentLink = CurrentLink.GetLinkedRef(apKeyword) | |||
endWhile | |||
endFunction | |||
</source> | </source> | ||