Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(Removed spam)
(The function requires an argument.)
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
  +
{{wowapi}} __NOTOC__
  +
  +
 
Returns 1 if unit is on a taxi, nil otherwise.
 
Returns 1 if unit is on a taxi, nil otherwise.
  +
onTaxi = UnitOnTaxi("unit")
  +
  +
  +
== Arguments ==
  +
:;unit: String - the [[API_TYPE_UnitId|Unit ID]] to check.
   
  +
== Returns ==
----
 
  +
:; onTaxi : [[Boolean]] - Whether the unit is on a taxi.
{{WoW API}}
 

Revision as of 02:37, 24 June 2008


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.