Reference › Function reference › Conditions

Conditions.group_state.measureNames

dependency

Call as

Conditions.group_state.measureNames()

Record the dependency Conditions.group_state.measureNames, then call it by that name. A namespaced call does not pass self: use a colon call or pass the object yourself.

What it does

Lists what the Group Count condition can count, with the editor label of each.

Arguments

None.

Returns

1table<string, string>Maps "size", "TANK", "HEALER", "DAMAGER" and "dead" to their localized labels.

Editions

Built In helpers are registered on every edition. What differs is the game API they read; where one is missing the helper falls back or returns nil with a reason.

It reads no game API directly.

How the addon calls it

  • Group Count (print)
    local names, measure = measureNames(), value.measure

Source

Conditions/group_state.lua, line 48. Read only in game; Duplicate makes an editable copy.

Conditions.group_state.measureNames()
    return {
        size = L["Players in the group"], TANK = L["Tanks"], HEALER = L["Healers"], DAMAGER = L["Damage dealers"],
        dead = L["Dead or ghost members"],
    }

Back to Function reference