Game Development Community

About sequence time

by Moussa Tarraf · in Torque Game Engine · 02/09/2005 (7:34 am) · 2 replies

Is there a way to get the time of an animmation sequence, by scripting.
for example the time of the sequence when kork is waving .
any idea??
thanks in advance .

#1
02/10/2005 (3:25 am)
Nothing built in. Should be easy to add, though, since the TS code exposes that information.
#2
02/10/2005 (12:00 pm)
If you want to check when the animation has finished, non-looping animations will call the animationDone() function on the player/aiPlayer datablock when the animation reaches the end.