Wikia

WoWWiki

API UnitInRaid

Talk0
98,452pages on
this wiki

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

Advertisement | Your ad here

Photos

Add a Photo
61,964photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki