Skip to content

vehicle_accessory

This table is used to tell the server to spawn an additional NPC with this vehicle.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
guidintunsignedPRINO0
accessory_entryintunsignedNO0
seat_idtinyintsignedPRINO0
miniontinyintunsignedNO0
descriptionmediumtextNO
summontypetinyintunsignedNO6see enum TempSummonType
summontimerintunsignedNO30000timer, 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 ​

IDNameComment
1TEMPSUMMON_TIMED_OR_DEAD_DESPAWNdespawns after a specified time OR when the creature disappears
2TEMPSUMMON_TIMED_OR_CORPSE_DESPAWNdespawns after a specified time OR when the creature dies
3TEMPSUMMON_TIMED_DESPAWNdespawns after a specified time
4TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBATdespawns after a specified time after the creature is out of combat
5TEMPSUMMON_CORPSE_DESPAWNdespawns instantly after death
6TEMPSUMMON_CORPSE_TIMED_DESPAWNdespawns after a specified time after death
7TEMPSUMMON_DEAD_DESPAWNdespawns when the creature disappears
8TEMPSUMMON_MANUAL_DESPAWNdespawns when UnSummon() is called

 

summontimer ​

Timer in ms linked to summontype.