WoW:API UnitOnTaxi: Difference between revisions

mNo edit summary
m (Move page script moved page API UnitOnTaxi to API UnitOnTaxi without leaving a redirect)
 
(5 intermediate revisions by 5 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.


[[Category:API Functions|UnitOnTaxi]]
== Returns ==
[[Category:API Unit Functions|UnitOnTaxi]]
:; onTaxi : [[Boolean]] - Whether the unit is on a taxi.

Latest revision as of 04:47, 15 August 2023

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.