WoW API: UnitHasLFGDeserter

Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API UnitHasLFGDeserter to API UnitHasLFGDeserter without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < UnitHasLFGDeserter

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

isDeserter = UnitHasLFGDeserter("unit");

ArgumentsEdit

unit
String (UnitId) - Unit you wish to query, e.g. "player".

ReturnsEdit

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

HistoryEdit