PlaySubGraphAnimation- Actor
Jump to navigation
Jump to search
Member of: Actor Script
Sends the event passed to the actor's sub graphs.
Syntax[edit | edit source]
Function PlaySubGraphAnimation(string asEventName) nativeParameters[edit | edit source]
- asEventName: The event to send to the actor's sub graph.
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Start Jake's flaming skin animation
Jake.PlaySubGraphAnimation("PlayFireSkinAnim")Notes[edit | edit source]
- This function is used for objects attached to actors with a type of animation. (source)
- 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.