Wikia

WoWWiki

API IsInRaid

Talk0
101,391pages on
this wiki
WoW API < IsInRaid

Added in Mists-Logo-Small 5.0.4

 isRaid = IsInRaid() 

Determines if the player is in a raid type group.

Returns Edit

isRaid
true if the player is in a raid group, otherwise false

Example Edit

 if IsInRaid() then
     DEFAULT_CHAT_FRAME:AddMessage ("I am in a Raid Group.");
 elseif not IsInRaid() then
     DEFAULT_CHAT_FRAME:AddMessage ("I am not in a Raid Group.");
 end

Patch history Edit

Mists-Logo-Small Patch 5.0.4 (28 August 2012): Added for status help due to removed GetNumRaidMembers.

Notes Edit

Around Wikia's network

Random Wiki