Background for Fallout 4
Member of the ObjectReference script
floatfunctionGetAnimationVariableFloat(stringarVariableName)Native

Description

Wiki Description

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

Documentation Comment

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


Caveats


Parameters

stringarVariableName

CK Wiki Description

The name of the variable to read from the graph


Examples

Debug.Trace("Current movement speed: " + GetAnimationVariableFloat("Speed"))

Auto-Generated Example

string myString__arVariableName

float returnedValue = myObjectReference__toCallFunctionOn.GetAnimationVariableFloat(myString__arVariableName)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.