v0.13.8

UNIT_ENTERED_VEHICLE

eventnot implementedC_Vehicleavailable in: camelot

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

declarationwowlua
declare event UNIT_ENTERED_VEHICLE(unitTarget: string, showVehicleFrame: boolean, isControlSeat: boolean, vehicleUIIndicatorID: number, vehicleGUID: string, mayChooseExit: boolean, hasPitch: boolean)

Payload

#nametypedescription
1unitTargetstringThe unit.
2showVehicleFramebooleanWhether the vehicle has its own unit frame.
3isControlSeatbooleanWhether the unit's seat controls the vehicle.
4vehicleUIIndicatorIDnumberThe vehicle seat indicator to show.
5vehicleGUIDstringThe vehicle's GUID.
6mayChooseExitbooleanWhether the unit may leave the vehicle.
7hasPitchbooleanWhether 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 mean

sources

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.