IsAnimPlaying

From the Fallout3 GECK Wiki
Revision as of 10:24, 26 November 2008 by imported>Kkuhlmann
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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