# vehicle\_accessory [<-Back-to:World](database-world.md) **The \`vehicle\_accessory\` table** 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 |
mediumint(8) |
unsigned |
PRI |
NO |
0 |
|
|
|
mediumint(8) |
unsigned |
|
NO |
0 |
|
|
|
tinyint(1) |
signed |
PRI |
NO |
0 |
|
|
|
tinyint(1) |
unsigned |
|
NO |
0 |
|
|
|
text |
signed |
|
NO |
" |
|
|
|
tinyint(3) |
unsigned |
|
NO |
6 |
|
see enum TempSummonType |
|
int(10) |
unsigned |
|
NO |
30000 |
|
timer, only relevant for certain summontypes |
Flag |
Name |
Comments |
|---|---|---|
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 |