API IsInGroup
Talk0
98,518pages on
this wiki
this wiki
isGroup = IsInGroup()
Determines whether the player is in a party or a raid group
Returns
- isGroup
- true if the player is in any kind of group, otherwise false
Example
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
Patch 5.0.4 (28 August 2012): Added for status help due to removed GetNumRaidMembers and GetNumPartyMembers.