Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!
Returns a number if the unit is in your raid group, nil otherwise.
index = UnitInRaid("unit")
- String - unitId to check.
- Layout position for raid members: integer ascending from 0 (which is the first member of the first group).
if UnitInRaid("target") then print(UnitName("target") .. " is in your raid group."); end
- Pets are not considered to be part of your raid group.
- While in a battleground, this function returns information about your battleground group.