PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Attackhook Question

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help (095)
Display posts from previous:   

Author Message
MontuZ
Distro Developer


Joined: 10 Feb 2006
Posts: 297
Location: Myrtle Beach, South Carolina

PostPosted: Sun Feb 12, 2006 4:33 pm    Post subject: Attackhook Question Reply with quote

What's the easiest way to get and play the right animations for npcs?

Author Message
Mithril



Joined: 04 Feb 2006
Posts: 25

PostPosted: Sun Feb 12, 2006 8:51 pm    Post subject: Reply with quote

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.

Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help (095) All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty