Difference between revisions of "SetSubGraphFloatVariable - Actor"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Google3
(Created page with "Category:Scripting Category:Papyrus '''Member of:''' Actor Script Set a variable on all of an actor's sub graphs. == Syntax == <source lang="papyrus"> Function SetS...")
 
imported>Qazaaq
m
 
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Papyrus]]
[[Category:Animation]]
'''Member of:''' [[Actor Script]]
'''Member of:''' [[Actor Script]]



Latest revision as of 03:55, 25 October 2016

Member of: Actor Script

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)

See Also[edit | edit source]