IsAnimPlaying

From GECK

Revision as of 00:52, 22 December 2008 by Quetzilla (Talk | contribs) (Description)

Description

IsAnimPlaying returns a 1 if the calling object is currently playing an animation. When the optional animGroup parameter is passed, script function returns 1 only if the specified Animation Group is playing.

Syntax

[ActorREF.] IsAnimPlaying animGroup (optional)

Examples

if myActivator.isAnimPlaying == 1
 ; myActivator is currently playing (any) animation.
endif

if myActivator.isAnimPlaying forward == 1
 ; myActivator is currently playing the forward animation
endif

Personal tools