• Advertisement

Archived

This topic is now archived and is closed to further replies.

DAT CurrentFrame

This topic is 5931 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have keyframed DAT entities on a Terrain created in LS. How do I return the entity currentframe number and total number of keyframes? I have tried node->Info.CurrentFrame in the Spawn.Func but this always returns 0 for me. I can''t find an example which shows how to do it correctly. Thanks in advance for helping! Petrovski

Share this post


Link to post
Share on other sites
Advertisement
Search for CurrentFrame in ObjectManager.c from the high level engine code and you should see where it gets updated. You can debug that to see why it''s failing (either the animate flag is not set or the max frames is 0).

Share this post


Link to post
Share on other sites

  • Advertisement