AddOn Studio Wiki
Advertisement

WoW API < UnitHasLFGDeserter

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) - Unit you wish to query, e.g. "player".

Returns[]

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

History[]

  • Added in Patch 3.3.3.
Advertisement