spawn_group_template

Back-to:World

The `spawn_group_template` table

This table contains Spawn Group names and flags.

Structure

Field

Type

Attributes

Key

Null

Default

Extra

Comment

groupId

int(10)

unsigned

PRI

NO

NULL

 

 

groupName

varchar(100)



NO

NULL

 

 

groupFlags

int(10)

unsigned

 

NO

0

 

 

Description of the fields

groupId

This is the Group ID for the group. It must be a unique number. Groups 0-4 are reserved for system tasks.

groupName

This is a descriptive name for the group.

groupFlags

These are the flags that will apply to the group.


FlagNumberDescription
SPAWNGROUP_FLAG_NONE0x00No flags applied
SPAWNGROUP_FLAG_SYSTEM0x01This group is a system group (applies to standard groups 0-4)
SPAWNGROUP_FLAG_COMPATIBILITY_MODE0x02This group will contain legacy objects/creatures that don't work with dynamic spawn changes
SPAWNGROUP_FLAG_MANUAL_SPAWN0x04This group will not be spawned by core by default. Scripts can manually spawn/despawn these groups on demand.
SPAWNGROUP_FLAG_DYNAMIC_SPAWN_RATE0x08This group will have dynamic spawn rates applied (by default quest interested creatures/gos and gather nodes use this)
SPAWNGROUP_FLAG_ESCORTQUESTNPC0x10This group contains Escort quest NPCs. This further enhances Dynamic spawn to begin respawn time at the point a quest is taken and the escort begins