WoW:API UnitOnTaxi: Difference between revisions
Jump to navigation
Jump to search
(Updated to match the current API boilerplate.) |
m (Move page script moved page API UnitOnTaxi to API UnitOnTaxi without leaving a redirect) |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
Returns 1 if unit is on a taxi, nil otherwise. | Returns 1 if unit is on a taxi, nil otherwise. | ||
onTaxi = UnitOnTaxi() | onTaxi = UnitOnTaxi("unit") | ||
== Arguments == | == Arguments == | ||
: | :;unit: String - the [[API_TYPE_UnitId|Unit ID]] to check. | ||
== Returns == | == Returns == | ||
:; onTaxi : [[Boolean]] - Whether the unit is on a taxi. | :; onTaxi : [[Boolean]] - Whether the unit is on a taxi. |