WoW API: IsInGroup

Revision as of 02:10, 3 October 2012 by Bear (talk | contribs) (Created page with "{{wowapi}} ''Added in {{mists-inline}} 5.0.4'' isGroup = IsInGroup() Determines if the player is in a raid type group. == Returns == :;isGroup: true if the player is in ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < IsInGroup

Added in Template:Mists-inline 5.0.4

 isGroup = IsInGroup() 

Determines if the player is in a raid type group.

Returns

isGroup
true if the player is in a some kind of group, otherwise false

Example

 if IsInGroup() then
     DEFAULT_CHAT_FRAME:AddMessage ("I am in some kind of Group.");
 elseif not IsInGroup() then
     DEFAULT_CHAT_FRAME:AddMessage ("I am not in any kind of Group.");
 end

Patch history

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 and GetNumPartyMembers.

Notes