Added optional groupType parameter, needed to distinguish between local group (/p) and instance group (/i).
(Correct the summary that mentioned only a raid group) |
(Added optional groupType parameter, needed to distinguish between local group (/p) and instance group (/i).) |
||
| Line 2: | Line 2: | ||
''Added in {{mists-inline}} 5.0.4'' | ''Added in {{mists-inline}} 5.0.4'' | ||
isGroup = IsInGroup() | isGroup = IsInGroup([groupType]) | ||
Determines whether the player is in a party or a raid group | Determines whether the player is in a party or a raid group | ||
== Arguments == | |||
; 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 == | == Returns == | ||