Wikia

WoWWiki

Watchlist Recent changes

API UnitInRaid

Main Menue



Returns a number if the unit is in your raid group, nil otherwise.

index = UnitInRaid("unit")

Arguments Edit

unit 
String - unitId to check.

Returns Edit

index 
Layout position for raid members: integer ascending from 0 (which is the first member of the first group).

Example Edit

if UnitInRaid("target") then
 print(UnitName("target") .. " is in your raid group.");
end

DetailsEdit

Pets are not considered to be part of your raid group.
While in a battleground, this function returns information about your battleground group.

See alsoEdit

Pages on WoWWiki

95,750pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
58,025photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki