Page 1 of 1

Animation ID's

Posted: Mon Jun 28, 2004 11:34 pm
by kabl2k
Does anyone have a list of the animation ID numbers? i did not see them in the readme.chm.
Trying to get my macro to see if my pet is attacking something like

/if (${Me.Pet.Animation[#]}

Thanks in advance!

Posted: Mon Jun 28, 2004 11:55 pm
by Rusty~
here's a list of animations i made a long time ago through testing... im sure there's some others but these are all the main ones.

Code: Select all

Animations

5 - hit with main hand
8 - punch
12 - hit with offhand?
16 - mob corpse/FD
17 - walking
18 - running
19 - jumping forward
20 - jumping straight up
24 - ducking
32 - standing still
33 - sitting
34 - turning in place
42 - casting type 1
44 - casting type 2
71 - standing after sitting
72 - moving slow on mount
74 - sitting still on mount
78 - galloping on mount
254 - player corpse
i use animations to determine if mobs are "aggro and awake" so i know to mez em. i put all the "aggro" animations into a string, and check to see if a mob's animation matches any of them. here's an example from my macro:

Code: Select all

   | .....
   /declare aggroAnim string outer |5|8|12|17|18|42|44|
   | .....
   /if ( ${aggroAnim.Find[|${Target.Animation}|]} ) {
      |  the mob on target is aggro! do stuff
   }
for my aggro animation string i just added animations for when mobs are moving, attacking, or casting. it works really well as long as you check animations very often

Posted: Tue Jun 29, 2004 2:58 am
by Drumstix42
This is a nice mind-sparker to me :)

Posted: Tue Jun 29, 2004 4:11 am
by Rusty~
hehe yeah, animation checks are very nice for add detection. wrote a fully functioning auto chanter that makes me sick to watch run.

Posted: Sun Nov 28, 2004 5:09 pm
by frabtik
Anyone tested this recently? I am working on updating my add detection routines and this doesn't seem to be working. Initial testing is showing maybe different types of mobs have different animations than listed here. If anyone has a more up to date list it would be appretiated.

Posted: Sun Nov 28, 2004 6:14 pm
by fearless
oow and possibly GOD introduced new animation id's . . . the above list needs to be updated.

Posted: Tue Nov 30, 2004 12:27 am
by zanomo
Piecing up from here and there awhile ago:

Code: Select all

Animations

5 - hit with main hand 
8 - punch 
12 - hit with offhand? 
16 - mob corpse/FD 
17 - walking 
18 - running 
19 - jumping forward 
20 - jumping straight up 
24 - ducking
26 - ?
32 - standing still 
33 - sitting 
34 - turning in place 
42 - casting type 1 
44 - casting type 2 
71 - standing after sitting 
72 - moving slow on mount 
74 - sitting still on mount 
78 - galloping on mount 
----- oow animations --- 
80  - attacking
104 - walking? 
106 - running 
110 - standing still 
129 - attacking 
144 - attacking 
------------------------- 
254 - player corpse

Posted: Sun Feb 13, 2005 5:20 pm
by Jon100
what animation does a mezzed mob use?

edit : 26 and 32

Posted: Mon Feb 21, 2005 2:36 am
by Agripa
I have been tuning a routine that checks for mob (or animation/pet) agro. So far I look for anything that is not 17, 26, and 32 and then do an /assist but it is possible for a mob to be in animation 32 (standing) and still have agro. This seems to happen between spell casts.

Posted: Mon Feb 21, 2005 3:41 am
by JJ
I would say yes until their spell actually casts for the casting animation

Posted: Sun Jan 27, 2008 8:50 pm
by ieatacid
Stickied. It's a pain in the ass trying to find this with search.