GetAnimationVariableFloat - ObjectReference: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
float Function GetAnimationVariableFloat(string asVariableName) native
float Function GetAnimationVariableFloat(string asVariableName) native
</source>
</syntaxhighlight>


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


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Debug.Trace("Current movement speed: " + Game.GetPlayer().GetAnimationVariableFloat("Speed"))
Debug.Trace("Current movement speed: " + Game.GetPlayer().GetAnimationVariableFloat("Speed"))
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu