UNIT_ENTERED_VEHICLE
Fires when a unit has entered a vehicle; UNIT_ENTERING_VEHICLE fires before it. Blizzard's unit frames switch to the vehicle and the raid frame shows a vehicle indicator. · description by wowlua
declare event UNIT_ENTERED_VEHICLE(unitTarget: string, showVehicleFrame: boolean, isControlSeat: boolean, vehicleUIIndicatorID: number, vehicleGUID: string, mayChooseExit: boolean, hasPitch: boolean)Payload
| # | name | type | description |
|---|---|---|---|
| 1 | unitTarget | string | The unit. |
| 2 | showVehicleFrame | boolean | Whether the vehicle has its own unit frame. |
| 3 | isControlSeat | boolean | Whether the unit's seat controls the vehicle. |
| 4 | vehicleUIIndicatorID | number | The vehicle seat indicator to show. |
| 5 | vehicleGUID | string | The vehicle's GUID. |
| 6 | mayChooseExit | boolean | Whether the unit may leave the vehicle. |
| 7 | hasPitch | boolean | Whether the vehicle can aim up and down. |
Blizzard's documentation marks the event as synchronous.
In wowlua's emulated client
not implementedFor an event, not implemented means the emulated client never fires it by itself. Fire it from a test with
mock.fireEvent, or mock.fireUnitEvent for a unit event. The event must be one the flavor documents, and its payload is checked against the documentation. what the statuses meansources
Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Vehicle system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.