Poster: Smokescreen at 3/5/2006 9:39:45 PM PST Subject: IsPetAttackActive() index failure |
| |
I'm trying to write a pet macro for my lock that detects the attack status of the pet and either begins or cancels an attack accordingly. Here's the script I have so far.
/Script if (IsPetAttackActive("0") == true) then PetFollow() elseif (IsPetAttackActive("0") == false) then PetAttack() end
When this works right then if the PetAttack detection function returns true when i run the macro then it will abort and return to me, otherwise it will attack my current target.
The problem comes into play with the index i used inbetween the () of "0." It doesn't actually reference my pets attack state and always returns false so my pet always attacks and never aborts. This field has only taken numbers so far and won't work with "pet" or anything like that.
Does anyone know the proper index for this function?
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=331625&p=#post331625 |
| |
Poster: slouken at 3/6/2006 2:00:15 PM PST Subject: Re: IsPetAttackActive() index failure |
| |
It's not broken, it's just exclusively for Eyes of the Beast.
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=331625&p=#post331982 |