As title says, after loading the animation, i need to somehow know how many frames that animation has.
Is there some command that i can use to find out all that info, or is there maybe some other trick like displaying frame at a time and finding out if end have been reached or not.
For this must be possible some way, otherwise Holywood itself wouldnt know when to stop playing animation that is supposed to be played only once.
How do i know how many frames animation has?
Re: How do i know how many frames animation has?
You can get animation frames count as follows from version 4.5:
n = GetAttribute ( #ANIM, id, #ATTRNUMFRAMES)
n = GetAttribute ( #ANIM, id, #ATTRNUMFRAMES)
Re: How do i know how many frames animation has?
Thanks.
I actually found that answer only moment ago before looking here while trying to find solution to another problem.
I actually found that answer only moment ago before looking here while trying to find solution to another problem.