Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia

Returns true if a different unit or pet is a member of the raid.

inRaid = UnitPlayerOrPetInRaid(unit)

Arguments[]

unit
string : UnitId

Returns[]

inRaid
boolean

Details[]

  • Returns nil for player and pet as of 3.0.2

Example[]

local TargetInRaid = UnitPlayerOrPetInRaid("target")

Result[]

TargetInRaid = 1   - If your target is in your raid group.
TargetInRaid = nil - If your target is not in raid group.