Wikia

WoWWiki

API IsInGroup

Talk0
101,500pages on
this wiki
WoW API < IsInGroup

Added in Mists-Logo-Small 5.0.4

 isGroup = IsInGroup() 

Determines whether the player is in a party or a raid group

Returns Edit

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

Example Edit

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

Patch history Edit

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

Around Wikia's network

Random Wiki