API IsInRaid

From Wowpedia
Jump to: navigation, search

Indicates whether the player is in a [specific type of] raid group.

isInRaid = IsInRaid([groupType])

Arguments

groupType 
Number - To check for a specific type of group, provide one of:
  • LE_PARTY_CATEGORY_HOME : checks for home-realm parties.
  • LE_PARTY_CATEGORY_INSTANCE : checks for instance-specific groups.

Returns

isInRaid 
Boolean - true if the player is currently in a groupType raid group (if groupType was not specified, true if in any type of raid), false otherwise

Notes

This returns true in arenas if groupType is LE_PARTY_CATEGORY_INSTANCE or is unspecified.

Patch changes