1,482
edits
imported>Thingy Person (→Syntax) |
m (Convert source tags to syntaxhighlight) |
||
| Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
< | <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 | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 24: | Line 24: | ||
== Examples == | == Examples == | ||
< | <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() | ||
</ | </syntaxhighlight> | ||
<br> | <br> | ||
< | <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) | ||
</ | </syntaxhighlight> | ||
== Notes == | == Notes == | ||