Returns whether a unit is in the player's raid or belongs to a raid member


See also Unit functions, Raid functions.

Signature:

inParty = UnitPlayerOrPetInRaid("unit") or UnitPlayerOrPetInRaid("name")

Arguments:

  • unit - A unit to query (string, unitID)
  • name - The name of a unit to query (string)

Returns:

  • inParty - 1 if the unit is in the player's raid or is a pet belonging to a raid member; otherwise nil (1nil)