UnitHasLFGDeserter

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 3.3.0 / 1.15.0

Returns whether the unit is currently unable to use the dungeon finder due to leaving a group prematurely.

isDeserter = UnitHasLFGDeserter(unit)

Arguments

unit
string : UnitId - the unit that would assist (e.g., "player" or "target")

Returns

isDeserter
boolean - true if the unit is currently an LFG deserter (and hence unable to use the dungeon finder), false otherwise.

History