Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

Returns true if the player is in a group.

inGroup = IsInGroup([groupType])

Arguments[]

groupType
number? - If omitted, checks if you're in any type of group.
If omitted, defaults to INSTANCE if applicable, HOME otherwise.
Value Enum Description
1 LE_PARTY_CATEGORY_HOME Home-realm group, i.e. a manually created group.
2 LE_PARTY_CATEGORY_INSTANCE Instance-specific temporary group, e.g. Battlegrounds, Dungeon Finder

Returns[]

inGroup
boolean - Returns true if the player is in the groupType group if specified, or in any type of group.

Details[]

It is possible for a character to belong to a home group at the same time they are in an instance group (LFR or Flex). To distinguish between a party and a raid, use IsInRaid().

Patch changes[]

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added groupType argument.

Advertisement