Page 1 of 1

how to grab pet's hp%

Posted: Mon Sep 19, 2016 9:25 pm
by Stickybuds
I am looking for the correct syntax for something like

Me.PctHPs

but for getting pet's HP%

Any of you pet classes help me out?

Re: how to grab pet's hp%

Posted: Tue Sep 20, 2016 3:49 pm
by Belvino

Code: Select all

(!${Me.Pet.PctHPs} > 0)


I have this to define when My mage needs to summon a pet when I give the command. I think this may be what your looking for?

Re: how to grab pet's hp%

Posted: Tue Sep 20, 2016 3:52 pm
by Stickybuds
Thanks! I thought it may be that simple but I'm not near a PC to test.

and LOL at your use, haha. I'm hoping i can use it to save the pet before it dies =)

Re: how to grab pet's hp%

Posted: Tue Sep 20, 2016 4:09 pm
by Belvino
I have 10 characters that use pets and one command for them all to summon. Its a check to see if they don't have a pet up so it doesn't burn the pet buff clicky and try to summon pet.

Re: how to grab pet's hp%

Posted: Tue Sep 20, 2016 4:23 pm
by Belvino
Which I say I but all Credit goes to Nilbus he is the guru of code. :D

Re: how to grab pet's hp%

Posted: Sun Sep 25, 2016 3:00 am
by Nilbus
Belvino wrote:Which I say I but all Credit goes to Nilbus he is the guru of code. :D


I mean I'll gladly take credit, but it was probably swiped from Dreos or code I saw somewhere :D