Returns whether a unit is controlling a vehicle
See also Vehicle functions.
Signature:
isControlling = UnitControllingVehicle("unit") or UnitControllingVehicle("name")
Arguments:
unit- A unit to query (string, unitID)name- The name of a unit to query; only valid forplayer,pet, and party/raid members (string)
Returns:
isControlling- True if the unit is controlling a vehicle; otherwise false (boolean)