GetBaseObject - ObjectReference: Difference between revisions

m
Convert source tags to syntaxhighlight
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
 
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Form Function GetBaseObject() native
Form Function GetBaseObject() native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 17: Line 17:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Obtains the base weapon for this reference
; Obtains the base weapon for this reference
Weapon sword = SwordOfDoomProperty.GetBaseObject() as Weapon
Weapon sword = SwordOfDoomProperty.GetBaseObject() as Weapon
</source>
</syntaxhighlight>


== Notes ==
== Notes ==