Difference between revisions of "SetSubGraphFloatVariable - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rasikko
m (→‎Notes: Fixed link.)
imported>Scrivener07
(Wiki pages on this site should be linked using the internal url notation. Keep in mind pages are case sensitive as well.)
 
Line 24: Line 24:


== Notes ==
== Notes ==
*A full list of variables can be found here : [https://www.creationkit.com/index.php?title=List_of_Animation_Variables List of Animation Variables.]
*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.]
*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]]

Latest revision as of 23:23, 20 December 2017

Member of: Actor Script (Requires 1.6)

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

Syntax[edit | edit source]

Function SetSubGraphFloatVariable(string asVariableName, float afValue) native

Parameters[edit | edit source]

  • 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[edit | edit source]

None.

Examples[edit | edit source]

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

Notes[edit | edit source]

  • A full list of variables can be found here.
  • External discussion thread is available here.

See Also[edit | edit source]