AnimTime()?

Blitz3D Forums/Blitz3D Programming/AnimTime()?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi all,
How does AnimTime() work? I would have thought it would return the current frame, which doesn't seem likely since the manual says it returns a float. So, how can I get the current frame number of an animating model?

I want to do something like:

If {currentmodelframenumber} = 79 then
     {do this thing}
elseif {currentmodelframenumber) = 80 then
     {do this other thing}
else
     {just hang about}
endif


So, is there a function for {currentmodelframenumber} or a way I can use AnimTime() to get to that same result?
Any help much appreciated!
M