Skip to content

Animation Control Functions

MinLL edited this page Aug 24, 2014 · 1 revision

The following functions control DD's animation routines.

Function SetAnimating(actor akActor, bool isAnimating=true)

Sets a given actor's animating status. If the actor is currently flagged as animating (isAnimating=True), DD will not start any animations for the actor.

###Example###

libs.SetAnimating(libs.PlayerRef, true) ; Disable DD started animations for the player.
                                        ; Ex: Horny animations, Vibration animations, etcetera.
; Play your own scene.
libs.SetAnimating(libs.PlayerRef, false) ; DD is once again free to start animations.
bool Function IsAnimating(actor akActor)

Returns true if a given actor is currently animating. False, otherwise.