Jump to content

Animation detection


Erenna

Recommended Posts

So... Yeah. I know I've been asking for a lot of help recently, but I'm trying to make a code block that detects the specific animations that an enemy is using.

I've already made a code block that finds the closest NPC to you, but as it stands I can't seem to make a code block that finds out -exactly- which animation

they're using. When I try, it recognizes that they're attacking, and that they're power attacking, but not what particular variety of power attack they're using.

Hence, my need for help.

 

EDIT: Fixed. Apparently, the, 'IsAnimPathIncluded' function was detecting the forward moving animation, since it technically played after the power attack animation and thus was the current animation. I compensated by using, 'IsAnimGroupPlaying' for the forward power attack group.

Edited by Erenna
Link to comment
Share on other sites

  • Recently Browsing   0 members

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