GetAnimationVariableInt - 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">
int Function GetAnimationVariableInt(string asVariableName) native
int Function GetAnimationVariableInt(string asVariableName) native
</source>
</syntaxhighlight>


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


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Debug.Trace("Right hand weapon type: " + GetAnimationVariableInt("iRightHandType"))
Debug.Trace("Right hand weapon type: " + GetAnimationVariableInt("iRightHandType"))
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu