SetScale - ObjectReference: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
(→‎Notes: Changed crash warning to indicate the version of Skyrim this was reported from.)
m (Convert source tags to syntaxhighlight)
 
Line 7: Line 7:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function SetScale(float afScale) native
Function SetScale(float afScale) native
</source>
</syntaxhighlight>


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


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Set the statue to be twice as big as the original art size
; Set the statue to be twice as big as the original art size
StatueProperty.SetScale(2.0)
StatueProperty.SetScale(2.0)
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu