GetLinkedRef - ObjectReference: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Jlundin
No edit summary
 
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
ObjectReference Function GetLinkedRef(Keyword apKeyword = None) native
ObjectReference Function GetLinkedRef(Keyword apKeyword = None) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 18: Line 18:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Get the linked ref for the parent marker
; Get the linked ref for the parent marker
ObjectReference linkedRef = parentMarker.GetLinkedRef()
ObjectReference linkedRef = parentMarker.GetLinkedRef()
</source>
</syntaxhighlight>
<br>
<br>
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Get the linked ref for the special keyword
; Get the linked ref for the special keyword
ObjectReference specialRef = parentMarker.GetLinkedRef(SpecialKeyword)
ObjectReference specialRef = parentMarker.GetLinkedRef(SpecialKeyword)
</source>
</syntaxhighlight>


== See Also ==
== See Also ==
*[[ObjectReference Script]]
*[[ObjectReference Script]]
*[[GetNthLinkedRef - ObjectReference]]
*[[GetNthLinkedRef - ObjectReference]]

Navigation menu