Me.Pet ??

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

kabl2k
a hill giant
a hill giant
Posts: 168
Joined: Fri Feb 20, 2004 6:25 pm

Me.Pet ??

Post by kabl2k » Wed Apr 21, 2004 3:18 pm

i see that a Me.Petbuff was added to check for buff on your pet but is there anyway to check if u have a pet? i did not see a Me.Pet to see if your pet actually exists.?

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Post by bob_the_builder » Wed Apr 21, 2004 3:30 pm

Code: Select all

/newif (!${Me.Pet.ID})  /echo Ive got no pet
Bob

Diazepam
a lesser mummy
a lesser mummy
Posts: 31
Joined: Thu Mar 11, 2004 6:26 pm

Post by Diazepam » Wed Apr 21, 2004 3:31 pm

http://macroquest2.com/phpBB2/viewtopic.php?t=6022

Me is a TLO of type character, and the very first line under character says that it inherits all the types from spawn. If you look under spawn, you'll see:

Code: Select all

...spawn Pet: Pet 

kabl2k
a hill giant
a hill giant
Posts: 168
Joined: Fri Feb 20, 2004 6:25 pm

Post by kabl2k » Wed Apr 21, 2004 4:35 pm

my bad forgot that charactor inherit spawn thanx for replys