SetSubGraphFloatVariable - Actor

From the CreationKit Wiki
Revision as of 08:08, 15 June 2012 by imported>JLundin (Created page with "Category:Scripting Category:Papyrus '''Member of:''' Actor Script ''(Requires 1.6)'' Set a variable on all of an actor's sub graphs. == Syntax == <source lang="p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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