Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Enhanced Animations - EnAn_oacGetLimbPlayAnimID

Author
Message
mrhdevil
16
Years of Service
User Offline
Joined: 10th Sep 2007
Location:
Posted: 28th Oct 2007 23:47
Hi.
I'm fairly new and I'm not entirely sure how to use the command EnAn_oacGetLimbPlayAnimID in the Enhanced Animations pack.
It returns a string of numbers that are different every time the program is run? Shouldn't it return the Loaded AnimID that is playing on the specific limb?
And if this command doesn't do that, anyone know a command that will?
Thanks!
Ron Erickson
Moderator
21
Years of Service
User Offline
Joined: 6th Dec 2002
Location: Pittsburgh, PA, USA
Posted: 29th Oct 2007 14:11
mrhdevil,

Whenever you load an animation, it returns a value. You should store this value in a variable that you can refer to later. You can then do a comparison of the value in the variable and what is returned by the command.

For isntance, if you load a run animation:

RunAnim = EnAn_AnimLoad( "RunAnimation.anim" )

You could then see if the run animation is playing on a certain limb by doing the following:

If EnAn_oacGetLimbPlayAnimID( oacID, LimbNo ) = RunAnim
...code
Endif


The reason that the actual values might be different each time is because the value is actually a memory address of where the info is stored.

I hope this makes sense!


a.k.a WOLF!
mrhdevil
16
Years of Service
User Offline
Joined: 10th Sep 2007
Location:
Posted: 29th Oct 2007 18:05
That makes perfect sense. Thanks very much!

Login to post a reply

Server time is: 2024-05-10 08:22:05
Your offset time is: 2024-05-10 08:22:05