AzerothCore
Pages :

gameobject_summon_groups

<-Back-to:World

Table: gameobject_summon_groups

This table holds data about gameobjects that are temporarily summoned as a group. It works similarly to creature_summon_groups but for gameobjects.

Structure

Field Type Attributes Key Null Default Extra Comment
summonerId INT UNSIGNED NO 0
summonerType TINYINT UNSIGNED NO 0
groupId TINYINT UNSIGNED NO 0
entry INT UNSIGNED NO 0
position_x FLOAT NO 0
position_y FLOAT NO 0
position_z FLOAT NO 0
orientation FLOAT NO 0
rotation0 FLOAT NO 0
rotation1 FLOAT NO 0
rotation2 FLOAT NO 0
rotation3 FLOAT NO 1
respawnTime INT UNSIGNED NO 120
Comment VARCHAR(255) NO ''

Description of the fields

summonerId

The entry ID of the object that triggers the summon, depending on summonerType.

summonerType

The type of the summoning object:

Value Type
0 SUMMONER_TYPE_CREATURE
1 SUMMONER_TYPE_GAMEOBJECT
2 SUMMONER_TYPE_MAP

groupId

Group identifier. All gameobjects with the same groupId and summonerId will be summoned at once when the group is triggered.

entry

Entry of the gameobject to summon from gameobject_template.entry.

position_x

X coordinate of the position where the gameobject will be spawned.

position_y

Y coordinate of the position where the gameobject will be spawned.

position_z

Z coordinate of the position where the gameobject will be spawned.

orientation

Facing angle of the spawned gameobject. Kept for compatibility; quaternion fields are used for precise rotation.

rotation0

The X component of the quaternion rotation applied to the spawned gameobject. Default is 0.

rotation1

The Y component of the quaternion rotation. Default is 0.

rotation2

The Z component of the quaternion rotation. Default is 0.

rotation3

The W (scalar) component of the quaternion rotation. Default is 1, which together with the other components set to 0 represents the identity quaternion (no rotation).

respawnTime

Time in seconds before the summoned gameobject despawns. Default is 120. Use 0 for permanent.

Comment

An optional human-readable description of this entry.