Description
Wiki Description
Sets the value of a variable on the reference's animation graph - Int version.
Documentation Comment
Set a variable on the reference's animation graph (if applicable). Int version.
Caveats
Parameters
stringarVariableName
CK Wiki Description
The name of the variable to read from the graph
intaiNewValue
CK Wiki Description
The new variable value
Examples
; Force actor to use melee weapon
SetAnimationVariableInt("iRightHandType", 1)Auto-Generated Example
string myString__arVariableName
int myInt__aiNewValue
myObjectReference__toCallFunctionOn.SetAnimationVariableInt(myString__arVariableName, myInt__aiNewValue)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
