WoW API: UnitOnTaxi

From AddOn Studio
Revision as of 04:47, 15 August 2023 by Move page script (talk) (Move page script moved page API UnitOnTaxi to API UnitOnTaxi without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.