Returns whether a unit is in the player's raid
See also Unit functions, Raid functions.
Signature:
inRaid
=
UnitInRaid("unit")
Arguments:
unit
- A unit to query (string
, unitID)
Returns:
inRaid
- Index of the unit in the raid (matches the numeric part of the unit'sraid
unitID
minus 1; e.g. returns 0 forraid1
, 12 forraid13
, etc) (number
)