v0.13.8

UnitVehicleSeatInfo

functionguessedavailable in: camelot

Returns information about a seat of the unit's vehicle: its occupant's name and realm, its kind, and whether the occupant can eject and switch seats. · description by wowlua

signaturewowlua
function UnitVehicleSeatInfo(    unit: string,    virtualSeatIndex: number): (string?, string?, string?, boolean?, boolean?)

Parameters

nametypedescription
unitstring
virtualSeatIndexnumberThe seat's index.

Returns

#nametype
1controlTypestring?
2occupantNamestring?
3serverNamestring?
4ejectableboolean?
5canSwitchSeatsboolean?

Blizzard's documentation says it may return nothing.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Unit system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.