Wikia

WoWWiki

API IsInRaid

Talk0
101,553pages on
this wiki
Revision as of 20:26, October 2, 2012 by Celess22 (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < IsInRaid

Added in Mists-Logo-Small 5.0.4

 isRaid = IsInRaid() 

Determines if the player is in a raid type group.

Returns

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


Example

 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

Notes

Around Wikia's network

Random Wiki