Fandom

WoWWiki

API UnitIsGroupAssistant

104,632pages on
this wiki
Add New Page
Talk0 Share

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.

WoW API < UnitIsGroupAssistant

Returns true if the unit is assistant leader in a party or raid group, false otherwise.

isTrue = UnitIsGroupAssistant("unit"[, groupType])

Arguments Edit

unit
(unitId) Unit that should be checked
groupType (optional)
(partyCategoryType) The type of group.
  • LE_PARTY_CATEGORY_HOME - get the count for a local or manual group. (default)
  • LE_PARTY_CATEGORY_INSTANCE - get the count for a player's automatic group. (default in an instance)

Returns Edit

isTrue
(boolean) true or false

Examples Edit

Call

local targetIsAssistant = UnitIsGroupAssistant("target")

Result

targetIsAssistant == true  - If your target is an assistant in their group
targetIsAssistant == false - If your target is not an assistant in their group

Notes Edit

  • Seems to work on players outside of their group.
  • As of 5.0.4, passing an unknown unitName, will cause UnitIsGroupAssistant to return the name, which may be a bug.

See Edit

Also on Fandom

Random Wiki