EnableLinkChain - 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 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function EnableLinkChain(Keyword apKeyword = None)
Function EnableLinkChain(Keyword apKeyword = None)
ObjectReference CurrentLink = GetLinkedRef(apKeyword)
ObjectReference CurrentLink = GetLinkedRef(apKeyword)
Line 14: Line 14:
endWhile
endWhile
endFunction
endFunction
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 24: Line 24:


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


== Notes ==
== Notes ==

Navigation menu