question on entity frame number

Posted By: pegamode

question on entity frame number - 03/06/19 11:28

Hey there,

I've got a question according the entity.frame number.

I use bones animation and add some additional animations to the base using ANM_ADD (e.g. talk and blink animations).

I noticed that when I get the current frame number from entity.frame it returns the current frame number of the last added animation.

I'd like to receive always the current frame number from my base animation no matter how many other animations were added. Is there a direct way to achieve this?

Currently I save the value from entity.frame into one of the model's skills after my base ent_animate call as a workaround.
Posted By: jcl

Re: question on entity frame number - 03/08/19 08:21

Bones animation has several frame numbers, but entity.frame only stores one. Your workaround is correct, that's the best way to get additional frame numbers.
Posted By: pegamode

Re: question on entity frame number - 03/08/19 08:45

Ok, great.Thanks for the answer.
© 2024 lite-C Forums