heads up, (ActorRef.getAnimationVariableBool("bAnimation

Post » Sat Nov 17, 2012 10:18 am

I have been using the following for months now to see if actors were up and in control of their body (as in not in havok state):

(ActorRef.getAnimationVariableBool("bHeadTracking")) && (ActorRef.getAnimationVariableBool("bAnimationDriven"))

All of the sudden I found they no longer return positive for actors that are up and moving around (not in Havok).

:stare:

I know not very many moders would need this but I sure the heck do. Has anyone else had trouble with their scripts using either of these?
In Oblivion we used ( isidleplaying + isanimationplaying ) > 0 But that no longer works in Skyrim.


GOD I sure hope "I am on crack" and these do still work, I will do more testing but I have been testing already for 1/2 hour and so far no go. :sad:

My test on player and actor both always return "false":

debug.messagebox(ActorRef.getAnimationVariableBool("bAnimationDriven"))
User avatar
Harry Hearing
 
Posts: 3366
Joined: Sun Jul 22, 2007 6:19 am

Post » Sat Nov 17, 2012 5:33 pm

ok, so sometimes it reports true and sometimes false, it seems to be related to combat. When I have it in a Onhit block it is always false.

But when I moved the test to a an on update event 0.5 seconds I get true mostly but sometimes false when in combat.
User avatar
Jessie Butterfield
 
Posts: 3453
Joined: Wed Jun 21, 2006 5:59 pm

Post » Sat Nov 17, 2012 2:01 pm

If only on the player it reports false all the time.

AAAAAAAAAAAAAAAAAAAAAAAHGGGGGGGGHGGGG!!!

I give up....
User avatar
Kill Bill
 
Posts: 3355
Joined: Wed Aug 30, 2006 2:22 am

Post » Sat Nov 17, 2012 4:53 am

There's some weird stuff since 1.6 - this looks like another bit of that weirdness. Either 1.6 patch was stuffed full of bugs, or there were a lot of bugs before, fixing which has led to a load of revised behaviour.
User avatar
Robert
 
Posts: 3394
Joined: Sun Sep 02, 2007 5:58 am

Post » Sat Nov 17, 2012 3:18 pm

Bugs? In a Bethesda product? *shocked*
User avatar
Manny(BAKE)
 
Posts: 3407
Joined: Thu Oct 25, 2007 9:14 am


Return to V - Skyrim