Lowest HP in group

Blujahz

Your spell fizzled!
Joined
Feb 9, 2007
Messages
553
Reaction score
1
Points
0
Is there a single command that will return the Group Member with the lowest PctHPs? I know I can make a loop to check each group member, but I'm looking for a command that is similar to the new .Lowest command on the XTarget TLO (i.e. ${Spawn[${Me.XTarget[${XTarget.Lowest}].ID}].PctHPs})

It would be great if there were something similar for group members.
 
${Group.Min} - returns the group member number with lowest

${Group.Member[${Group.Min}].PctHPs} - returns the actual PctHPs of the lowest group member.

I forget of Xeniaz coded them all or not. He was planning on doing: ${Group.Min[mana]} ${Group.Min[endurance]} ${Group.Min[hp]} with hp being the default return if you do ${Group.Min} . There may also be ${Group.Max} and ${Group.Avg} for all/none/some of the same. i dont have eq to test and it will likely cause you to crash if you try them and they dont exist, just as fyi.
 
Thanks Pete, that's just what I needed.