how to grab pet's hp%

Third party software discussion goes here.
Stickybuds
Posts: 883

how to grab pet's hp%

Post#1 » Mon Sep 19, 2016 9:25 pm

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?
Image

User avatar
Belvino
Posts: 218

Re: how to grab pet's hp%

Post#2 » Tue Sep 20, 2016 3:49 pm

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?

Stickybuds
Posts: 883

Re: how to grab pet's hp%

Post#3 » Tue Sep 20, 2016 3:52 pm

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 =)
Image

User avatar
Belvino
Posts: 218

Re: how to grab pet's hp%

Post#4 » Tue Sep 20, 2016 4:09 pm

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.

User avatar
Belvino
Posts: 218

Re: how to grab pet's hp%

Post#5 » Tue Sep 20, 2016 4:23 pm

Which I say I but all Credit goes to Nilbus he is the guru of code. :D

User avatar
Nilbus
Posts: 1258

Re: how to grab pet's hp%

Post#6 » Sun Sep 25, 2016 3:00 am

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
Nodyin-Nilbus-Pockit-Tiah-Rakas- Funeral
Likeatruck-Khaltos-Nilbie-Ziknaf-Prathun-Missus
Elidor
Youme-Yumme-Blazingtide-Sublin-Lissanda-Darmok
Djarik-Ikat-Nerys-Ometi-Tarana-Biln

I know way too much random stuff.

Return to “Third party software”

Who is online

Users browsing this forum: No registered users and 1 guest