Jump to content

How to get in the script what animation the actor is playing now


TDA

Recommended Posts

Posted

I need to separate (not process the actor) if it plays a certain animation.

 

I know that there are functions ---

=============================================

npc.GetAnimationVariableBool("What is it ? and where to get it")

 

npc.GetAnimationVariableINT("What is it ? and where to get it")

==========================================

 

, but there is no specific information for them, what exactly they check and where they get it, and what should I write in the lines field - AnimEventName or AnimVariable of what??.

Posted
1 hour ago, TDA said:

but there is no specific information for them, what exactly they check and where they get it?

Protip: Put the name of the function you want to know more about into the adress bar of your browser, or directly into googles search field.
https://www.creationkit.com/index.php?title=GetAnimationVariableBool_-_ObjectReference

spoiler: this allows to determine some of the more important animations, i.e weapon draw, bleedout, movement related stuff,....
but it wont give you any names for animevents, so its likely useless for anything added by FNIS.

Posted
2 hours ago, Pamatronic said:

Protip: Put the name of the function you want to know more about into the adress bar of your browser, or directly into googles search field.
https://www.creationkit.com/index.php?title=GetAnimationVariableBool_-_ObjectReference

spoiler: this allows to determine some of the more important animations, i.e weapon draw, bleedout, movement related stuff,....
but it wont give you any names for animevents, so its likely useless for anything added by FNIS.

 

It's useless to me then, I just need to determine that the actor is currently using an IdleMarker and can't be touched.

 

By the way, I noticed that, compared to TES4 - actors are very slow and stupid when executing behavior packages, in TES4 actors instantly switch if they switch the package.

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...