API UnitHasLFGDeserter

From Wowpedia
Jump to: navigation, search

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