IsAnimPlaying

From GECK

Link to TES4 Construction Set Wiki: IsAnimPlaying.

A function included in the GECK version 1.1.0.36.

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
Personal tools