FANDOM


WoW API < IsInGroup

Added in Mists-Logo-Small 5.0.4

 isGroup = IsInGroup([groupType]) 

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

Arguments Edit

groupType (optional)
The type of group:
  • LE_PARTY_CATEGORY_HOME - true if the player is in a local or manual group.
  • LE_PARTY_CATEGORY_INSTANCE - true if the player is in a instance type group. (e.g. LFG, LFR)

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.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.