How to tell if an entity has animation on it?

Blitz3D Forums/Blitz3D Programming/How to tell if an entity has animation on it?

Craig H. Nisbet(Posted 2004) [#1]
I have a function that is telling entities to animate. The problem is, some of the objects is sifting though have no animation sequence. The animate command give an error when it hits those objects. Is there a way to test to see if the entity is actually animatable first?


BlackD(Posted 2004) [#2]
Use AnimLength(entity) to see if it has an animation.

+BlackD