Skip to content

spawn_group_template

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
groupIdintunsignedPRINO
groupNamevarchar(100)NO
groupFlagsintunsignedNO0
 

Description of fields ​

groupId ​

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

groupName ​

Descriptive name for the group.  

groupFlags ​

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