Page 2 of 4

Re: Hey Wassup

Posted: Thu Jan 27, 2005 3:30 pm
by wassup
JJ wrote:He was asking about his pet, so I don't think he wants to retarget the mob. I think he wants to send a pet in, switch targets, and when his pet is no longer engaged, send his pet in on the new target. That's my guess.
I was mainly saying you cannot do ${Me.Pet.Target}. Target is a TLO.

Assuming the list of animation ID's is correct...

Pet attacking:

Code: Select all

/if (${Me.Pet.Animation}==80 || ${Me.Pet.Animation}==129 || ${Me.Pet.Animation}==144)  {
   <whatever you want to do if pet is attacking>
}

Posted: Fri Jan 28, 2005 2:22 am
by zanomo
Only applicable to OOW NPC in addition to the old animation IDs.

Code: Select all

----- oow animations --- 
80  - attacking 
104 - walking? 
106 - running 
110 - standing still 
129 - attacking 
144 - attacking 
For Pet animation, old animation IDs are used:

Code: Select all

5 - hit with main hand 
8 - punch 
12 - hit with offhand? 
17 - walking 
18 - running 
I have not found a reliable way to detect if pet is attacking or not. In my macro I included animation 17 and 18 along with 5/8/12, since sometimes the pet is running after the mob positioning itself to attack it. However, a unwanted side effect is that when /pet back is issued, the pet is in animation 17/18 on its way back to the guard location....

I was hoping to test it when mq2 is up using the Me.Pet.Target for pet attack checks but it seems it won't work either... :(

:D /varcalc postcount ${post.count}+1 :smile:

Posted: Sat Feb 12, 2005 12:54 am
by 0mg
Thanks for the great input guys.

Guess I'll play with animation IDs.

Too bad something like ${Me.Pet.Combat} won't work. ><

Posted: Fri Feb 25, 2005 2:36 pm
by draco
I'm toying with NearestSpawn and TargetOfTarget I.e.

Code: Select all


/target id ${Me.Pet.NearestSpawn[ npc radius 50]}
/delay 5
/if (${Me.TargetOfTarget.ID}==${Me.Pet.ID}) {

-- Do what ever-----
} else {

--- Do something else-----

}
This requires the GLAA "Heath Of Target's Target"
This approach works great for determining if a group member has aggro. I was planning to add this condition to check if there pet has aggro as well.

Re: any way to detect if pet is idling or busy fighting?

Posted: Tue Apr 01, 2025 1:55 pm
by xyilla

Re: any way to detect if pet is idling or busy fighting?

Posted: Tue Apr 01, 2025 1:56 pm
by xyilla

Re: any way to detect if pet is idling or busy fighting?

Posted: Tue Apr 01, 2025 1:58 pm
by xyilla

Re: any way to detect if pet is idling or busy fighting?

Posted: Tue Apr 01, 2025 1:59 pm
by xyilla

Re: any way to detect if pet is idling or busy fighting?

Posted: Tue Apr 01, 2025 2:36 pm
by xyilla

Re: any way to detect if pet is idling or busy fighting?

Posted: Tue Apr 01, 2025 2:37 pm
by xyilla

Re: any way to detect if pet is idling or busy fighting?

Posted: Tue Apr 01, 2025 2:38 pm
by xyilla

Re: any way to detect if pet is idling or busy fighting?

Posted: Tue Apr 01, 2025 2:39 pm
by xyilla

Re: any way to detect if pet is idling or busy fighting?

Posted: Tue Apr 01, 2025 3:52 pm
by xyilla

Re: any way to detect if pet is idling or busy fighting?

Posted: Tue Apr 01, 2025 3:53 pm
by xyilla

Re: any way to detect if pet is idling or busy fighting?

Posted: Tue Apr 01, 2025 3:55 pm
by xyilla