API:GetGroupMemberStatusData
Aus WARWiki
Returns the status information for a given group member, including health, action points, etc.
Nutzung
local hp, ap, morale, lvl, pethp, rvr = GetGroupMemberStatusData(groupIndex)
Arguments
* groupIndex (number)
- The index of the group member to get info for. Typically 1-5.
Return Values
* hp (number)
- The health of the group member, as a percentage.
- ap (number)
- The action points of the group member, as a percentage.
- morale (number)
- The morale level of the group member.
- lvl (number)
- The level of the group member.
- pethp (number)
- The hp of the group member's pet, if it exists. nil if no pet.
- rvr (boolean)
- Whether or not the group member is RvR flagged.