Animations timing
#1

Hey, pals, I kept wondering whether I can get some info about how long animation takes to make a full circle from the start to the end. Any ideas on how-to? Any way to measure it via some custom stock? It is quite necessary for me so my animation system don't get partially broken by my chat animations system.

Please answer as fast as you know if you happen to know how-to's. It's kind of rushy matter for me. Thanks.
Reply
#2

Maybe i dont understand you correctly, but:

You can use ApplyAnimation to set the time how long the animation should take. And if you want to know how long a actual animation takes that the player is doing you maybe can work with GetPlayerAnimation and a 1ms second timer. But i think this wont work pretty well. Even if you test it on localhost with an blank script the server does have a ping which will brake this maybe. Even if it would work on your localhost server there could be problems beetwen the client / server on a "real" server.
Reply
#3

Yeah, this might do, I'll try that.


UPD: Yeah, that does the trick. Thanks a lot.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)