Wikia

WoWWiki

Changes: API IsInRaid

Edit

Back to page

(Created page with "{{wowapi}} ''Added in {{mists-inline}} 5.0.4'' isRaid = IsInRaid() Determines if the player is in a raid type group. == Returns == :;isRaid: true if the player is in a r...")
 
 
Line 8: Line 8:
 
== Returns ==
 
== Returns ==
 
:;isRaid: true if the player is in a raid group, otherwise false
 
:;isRaid: true if the player is in a raid group, otherwise false
 
   
 
== Example ==
 
== Example ==
Line 17: Line 16:
 
DEFAULT_CHAT_FRAME:AddMessage ("I am not in a Raid Group.");
 
DEFAULT_CHAT_FRAME:AddMessage ("I am not in a Raid Group.");
 
end
 
end
  +
  +
== Patch history ==
  +
{{Patch 5.0.4|note=Added for status help due to removed {{api|GetNumRaidMembers}}.}}
   
 
== Notes ==
 
== Notes ==

Latest revision as of 20:28, October 2, 2012

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