isAnimPlaying returns always 1

Post » Mon Jan 03, 2011 5:28 pm

IsAnimPlaying returns always 1, regardless if I'm actually doing something or just standing idle. it happens with actors too, only dead bodies return 0.

Whats going on here?

Is this one of those "broken" functions?
User avatar
Jessie Rae Brouillette
 
Posts: 3469
Joined: Mon Dec 11, 2006 9:50 am

Post » Mon Jan 03, 2011 5:06 pm

IsAnimPlaying returns always 1, regardless if I'm actually doing something or just standing idle. it happens with actors too, only dead bodies return 0.

Whats going on here?

Is this one of those "broken" functions?


What do you think your character is doing while he's standing idle? He plays the idle animation! Only unconscious and dead actors play no animations because in that case the ragdoll will take over.
User avatar
Averielle Garcia
 
Posts: 3491
Joined: Fri Aug 24, 2007 3:41 pm

Post » Tue Jan 04, 2011 2:38 am

What do you think your character is doing while he's standing idle? He plays the idle animation! Only unconscious and dead actors play no animations because in that case the ragdoll will take over.


Well, that makes, sense.

I guess I'll have to try with isAnimGroupPlaying the downside is I'll have to check for each animation one by one, to make sure the player is not doing nothing. Is there a way to determine this (when the player isn't doing anything) something like IsIdle or similar?
User avatar
roxanna matoorah
 
Posts: 3368
Joined: Fri Oct 13, 2006 6:01 am

Post » Mon Jan 03, 2011 12:10 pm

IsAnimGroupPlaying 0


Idle is an animation too, remember.
User avatar
Calum Campbell
 
Posts: 3574
Joined: Tue Jul 10, 2007 7:55 am

Post » Mon Jan 03, 2011 2:48 pm

IsAnimGroupPlaying 0


Lol yeah, I saw it too, it is the first in the list, I don't know how I could've missed it :facepalm:
User avatar
LuBiE LoU
 
Posts: 3391
Joined: Sun Jun 18, 2006 4:43 pm


Return to IV - Oblivion