Mithril
Joined: 04 Feb 2006 Posts: 25
|
Posted: Sun Feb 12, 2006 8:51 pm Post subject: |
|
|
I added an AttackAnim <animNumber> to each npcdesc entry for each of the animations I wanted them to play out for combat. Then, in your hook, you can just read in their desc entry and get the AttackAnim entries to have them perform.
Other than that, to be easier, I believe most of them, possibly not all, use the attack actions for their attack animations, so you might be safe in just using those. I believe they are 0x4, 0x5, and 0x6. Just send those to the PerformAction() function to have the mob perform that animation. |
|