WoW API: UnitHasLFGDeserter

From AddOn Studio
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)
Jump to navigation Jump to search

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[edit]

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

Returns[edit]

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

History[edit]