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 there is any animation playing at the sequence type for that Animation Group. For a more reliable way to check if the anim group is playing use IsAnimPlayingEx or IsAnimPlayingAlt.
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 a locomotion animation endif