Difference between revisions of "GetAnimationVariableFloat - ObjectReference"

m
no edit summary
imported>Jlundin
 
imported>Tascani
m
 
(6 intermediate revisions by 5 users not shown)
Line 11: Line 11:


== Parameters ==
== Parameters ==
* asVariableName: The name of the variable to read from the graph
* asVariableName: The name of the variable to read from the graph.


== Return Value ==
== Return Value ==
The variable's current value
The variable's current value.


== Examples ==
== Examples ==
<source lang="papyrus">
<source lang="papyrus">
Debug.Trace("Current movement speed: " + GetAnimationVariableFloat("Speed"))
Debug.Trace("Current movement speed: " + Game.GetPlayer().GetAnimationVariableFloat("Speed"))
</source>
</source>
== Notes ==
*A full list of variables can be found here : [http://www.creationkit.com/index.php?title=List_of_Animation_Variables List of Animation Variables.]
*External discussion thread is available [http://forums.bethsoft.com/topic/1360112-full-dump-of-all-animation-variables/ here.]


== See Also ==
== See Also ==
Anonymous user