Gamestudio Links
Zorro Links
Newest Posts
long time to load data
by qin. 12/29/25 14:06
The new evaluation shell
by jcl. 12/29/25 09:56
about Zorro S (monthly)
by AndrewAMD. 12/29/25 03:24
Xor Memory Problem.
by TipmyPip. 12/26/25 19:14
ZorroFix. ini /data and /log path
by Martin_HH. 12/19/25 21:02
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (qin, Martin_HH), 59,114 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Syndrela, HDRSEO, AOUNZA, digitalboy381, agasior
19190 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
question on entity frame number #476516
03/06/19 11:28
03/06/19 11:28
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
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.

Re: question on entity frame number [Re: pegamode] #476533
03/08/19 08:21
03/08/19 08:21
Joined: Jul 2000
Posts: 28,044
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,044
Frankfurt
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.

Re: question on entity frame number [Re: jcl] #476534
03/08/19 08:45
03/08/19 08:45
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Ok, great.Thanks for the answer.


Moderated by  old_bill, Tobias 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1