vehicle_accessory
This table is used to tell the server to spawn an additional NPC with this vehicle.
Structure
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| guid | int | unsigned | PRI | NO | 0 | ||
| accessory_entry | int | unsigned | NO | 0 | |||
| seat_id | tinyint | signed | PRI | NO | 0 | ||
| minion | tinyint | unsigned | NO | 0 | |||
| description | mediumtext | NO | |||||
| summontype | tinyint | unsigned | NO | 6 | see enum TempSummonType | ||
| summontimer | int | unsigned | NO | 30000 | timer, only relevant for certain summontypes | ||
Description of fields
guid
creature guid of npc to be used as vehicle.
accessory_entry
creature entry to be attached to the main vehicle.
Flying vehicles must have Flight enabled.
seat_id
VehicleSeat ID in witch the accessory should be spawned.
minion
- 0: accessory will not die when vehicle dies.
- 1: accessory will die when the vehicle dies.
Note: When making detachable vehicles you will always want to use value 0, otherwise when the main vehicle dies so does the detached vehicles.
description
This field is for any comment you want to make. It is arbitrary text.
summontype
| ID | Name | Comment |
|---|---|---|
| 1 | TEMPSUMMON_TIMED_OR_DEAD_DESPAWN | despawns after a specified time OR when the creature disappears |
| 2 | TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN | despawns after a specified time OR when the creature dies |
| 3 | TEMPSUMMON_TIMED_DESPAWN | despawns after a specified time |
| 4 | TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT | despawns after a specified time after the creature is out of combat |
| 5 | TEMPSUMMON_CORPSE_DESPAWN | despawns instantly after death |
| 6 | TEMPSUMMON_CORPSE_TIMED_DESPAWN | despawns after a specified time after death |
| 7 | TEMPSUMMON_DEAD_DESPAWN | despawns when the creature disappears |
| 8 | TEMPSUMMON_MANUAL_DESPAWN | despawns when UnSummon() is called |
summontimer
Timer in ms linked to summontype.
