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:
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
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