Page 1 of 1

Can Eq2service Get A group members health

Posted: March 22nd, 2005, 11:51 am
by sinshar
Was just wondering. If i am grouped with my Warrior and cleric.. and running Xunleashed on my clerics account. Can the getplayerhealth() get the health of only the Cleric or does it get the target.
I"M basicly looking for a way to Get the health of the targeted group member.

If iit gets the health of the player targeted then i'm good i can just send a switch member key.

Thanks for any help

Re: Can Eq2service Get A group members health

Posted: March 26th, 2005, 1:25 pm
by motley
Yes, get your current target with obj.TargetID, then ask for the health.

Pseudo code (I don't have the exact function names in front of me):

targethhealth=obj.MobHealth(obj.TargetID)

Re: Can Eq2service Get A group members health

Posted: March 26th, 2005, 11:20 pm
by sinshar
Sweet, don't suppose you know when the EQ2Service will be fixed so i can do just that =-)