WoW API: UnitOnTaxi

From AddOn Studio
Revision as of 02:37, 24 June 2008 by WoWWiki>Valana (The function requires an argument.)
Jump to navigation Jump to search

WoW API < UnitOnTaxi


Returns 1 if unit is on a taxi, nil otherwise.

onTaxi = UnitOnTaxi("unit")


Arguments

unit
String - the Unit ID to check.

Returns

onTaxi
Boolean - Whether the unit is on a taxi.