SetSubGraphFloatVariable - Actor: Difference between revisions

From the CreationKit Wiki
Jump to navigation Jump to search
(The removed content referred to animation variables on actors' top-level graphs, not any specific sub-graphs.)
Line 22: Line 22:
Jake.SetSubGraphFloatVariable("fBlendTime", 1.0)
Jake.SetSubGraphFloatVariable("fBlendTime", 1.0)
</source>
</source>
== Notes ==
*A full list of variables can be found [[List of Animation Variables|here]].
*External discussion thread is available [http://forums.bethsoft.com/topic/1360112-full-dump-of-all-animation-variables/ here.]


== See Also ==
== See Also ==
*[[Actor Script]]
*[[Actor Script]]
*[[PlaySubGraphAnimation - Actor]]
*[[PlaySubGraphAnimation - Actor]]

Revision as of 14:56, 26 July 2026

Member of: Actor Script (Requires 1.6)

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

Syntax

Function SetSubGraphFloatVariable(string asVariableName, float afValue) native

Parameters

  • asVariableName: The variable name of the variable you'd like to set on all actor's sub graphs.
  • afValue: The value you'd like to set for the above variable.

Return Value

None.

Examples

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

See Also