DisableLinkChain - ObjectReference: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Thingy Person
m (Convert source tags to syntaxhighlight)
 
Line 7: Line 7:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function DisableLinkChain(Keyword apKeyword = None, bool abFadeOut = false)
Function DisableLinkChain(Keyword apKeyword = None, bool abFadeOut = false)
ObjectReference CurrentLink = GetLinkedRef(apKeyword)
ObjectReference CurrentLink = GetLinkedRef(apKeyword)
Line 15: Line 15:
endWhile
endWhile
endFunction
endFunction
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 25: Line 25:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Disable every ref linked to startRef in a chain
; Disable every ref linked to startRef in a chain
startRef.DisableLinkChain()
startRef.DisableLinkChain()
</source>
</syntaxhighlight>
<br>
<br>
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; disable every ref linked to startRef using the special keyword
; disable every ref linked to startRef using the special keyword
startRef.DisableLinkChain(SpecialKeyword)
startRef.DisableLinkChain(SpecialKeyword)
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu