Background for Skyrim SE
Member of the ObjectReference script
intfunctionGetAnimationVariableInt(stringarVariableName)Native

Description

Wiki Description

Gets the value of a variable on the reference's animation graph - Int version.

Documentation Comment

Get a variable from the reference's animation graph (if applicable). Int version.


Caveats

CK Wiki - Notes

See talk page for a full list of the animation variables for this function.


Parameters

stringarVariableName

CK Wiki Description

The name of the variable to read from the graph.


Examples

Debug.Trace("Right hand weapon type: " + GetAnimationVariableInt("iRightHandType"))

Auto-Generated Example

string myString__arVariableName

int returnedValue = myObjectReference__toCallFunctionOn.GetAnimationVariableInt(myString__arVariableName)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.