Background for Skyrim SE
Member of the Actor script
voidfunctionSetSubGraphFloatVariable(stringasVariableName, floatafValue)Native

Description

Wiki Description

Set a variable on all of an actor's sub graphs.

Documentation Comment

Set a variable on all of an actor's subgraphs


Caveats

CK Wiki - Notes

  • Examination of vanilla meshes and scripts suggests that ArmorAddons and Art Objects can have behavior graphs, and that these are treated as "sub-graphs" for the actors the meshes are attached to. This script function is used to modify the values of animation variables on these sub-graphs.

Parameters

  1. stringasVariableName

    CK Wiki Description

    The variable name of the variable you'd like to set on all actor's sub graphs.

  2. floatafValue

    CK Wiki Description

    The value you'd like to set for the above variable.


Examples

; Set Jake's skin's blend time to 1.0 seconds.
Jake.SetSubGraphFloatVariable("fBlendTime", 1.0)

Auto-Generated Example

string myString__asVariableName
float myFloat__afValue

myActor__toCallFunctionOn.SetSubGraphFloatVariable(myString__asVariableName, myFloat__afValue)

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.