Wikia

WoWWiki

API UnitHasLFGDeserter

Talk0
101,311pages on
this wiki
Revision as of 18:57, March 24, 2010 by Starlightblunder (Talk | contribs)

(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");

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

Around Wikia's network

Random Wiki