Returns whether a battleground participant is inactive (and eligible for reporting as AFK)
See also Battlefield functions, Complaint functions.
Signature:
isInactive = PlayerIsPVPInactive("name") or PlayerIsPVPInactive("unit")
Arguments:
name- Name of a friendly player unit in the current battleground (string)unit- A friendly player unit in the current battleground (string, unitID)
Returns:
isInactive- True if the unit can be reported as AFK; otherwise false (boolean)