Background for Skyrim SE
Member of the ObjectReference script
voidfunctionSetAnimationVariableBool(stringarVariableName, boolabNewValue)Native

Description

Wiki Description

Sets the value of a variable on the reference's animation graph - Bool version.

Documentation Comment

Set a variable on the reference's animation graph (if applicable). Bool version.


Caveats

CK Wiki - Notes


Parameters

stringarVariableName

CK Wiki Description

The name of the variable to read from the graph.

boolabNewValue

CK Wiki Description

The new variable value.


Examples

; Force graph in to animation driven state
SetAnimationVariableBool("bAnimationDriven", true)

Auto-Generated Example

string myString__arVariableName
bool myBool__abNewValue

myObjectReference__toCallFunctionOn.SetAnimationVariableBool(myString__arVariableName, myBool__abNewValue)

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.