IsAnimPlaying
From GECK
A function included in the GECK for Fallout 3.
Contents
Description
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
(0, 1:int) [ObjectRefID].IsAnimPlaying AnimGroup:Animation (optional)
Example
if myActivator.isAnimPlaying == 1 ; myActivator is currently playing (any) animation endif
if myActivator.isAnimPlaying forward == 1 ; myActivator is currently playing the forward animation endif