WoW:API IsInRaid: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(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...")
 
m (Move page script moved page API IsInRaid to API IsInRaid without leaving a redirect)
 
(No difference)

Latest revision as of 04:46, 15 August 2023

WoW API < IsInRaid

Added in Template:Mists-inline 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]

Template:Mists-inline <span style="" title="Patch 5.0.4">Patch 5.0.4</span> (patch date::28-August-2012): Added for status help due to removed GetNumRaidMembers.

Notes[edit]