AzerothCore
Pages :

spawn_group

<-Back-to:World

The `spawn_group` table

This table maps individual creature and gameobject spawns to their spawn groups. Each spawn can belong to one group, which controls its respawn behavior through the flags defined in spawn_group_template.

Table Structure

Field Type Attributes Key Null Default Extra Comment
groupId INT UNSIGNED PRI NO NULL
spawnType TINYINT UNSIGNED PRI NO NULL
spawnId INT UNSIGNED PRI NO NULL

Description of the fields

groupId

This is the Group ID for the group. It must match a group already existing in the spawn_group_template table.

spawnType

This is the spawn type:

Value Type
0 Creature
1 GameObject

spawnId

This is the spawn ID (GUID) of the creature or game object that should be included in the group. The ID must exist in the creature or gameobject tables respectively.