Table: creature_summon_groups
This table holds data about temporary summoned creatures. It is possible to group summons and create boss waves of adds etc.
Structure
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
mediumint(8) | unsigned |
| NO | 0 |
|
| |
tinyint(3) | unsigned |
| NO | 0 |
|
| |
groupId | tinyint(3) | unsigned | NO | 0 | |||
entry | mediumint(8) | unsigned | NO | 0 | |||
float |
|
| NO | 0 |
|
| |
float |
|
| NO | 0 |
| ||
float |
|
| NO | 0 |
| ||
float |
|
| NO | 0 |
|
| |
summonType | tinyint(3) | unsigned | NO | 0 | |||
summonTime | int(10) | unsigned | NO | 0 |
Description of the fields
summonerId
Summoner's id depending on summonerType
summonerType
Summoner's type:
Value | Type |
---|---|
0 | SUMMONER_TYPE_CREATURE |
1 | SUMMONER_TYPE_GAMEOBJECT |
2 | SUMMONER_TYPE_MAP |
groupId
Group identificator, all creatures with the same groupId will be summoned at once
entry
Entry of summoned creature from creature_template.entry
position_x
X coordinate of position, where the creature will be spawned
position_y
Y coordinate of position, where the creature will be spawned
position_z
Z coordinate of position, where the creature will be spawned
orientation
Orientation the summoned creature will get when spawned
summonType
Value | Name | Comments |
---|---|---|
1 | TEMPSUMMON_TIMED_OR_DEAD_DESPAWN | Despawns after a specified time OR when the creature disappears |
2 | TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN | Despawns after a specified time OR when the creature dies |
3 | TEMPSUMMON_TIMED_DESPAWN | Despawns after a specified time |
4 | TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT | Despawns after a specified time after the creature is out of combat |
5 | TEMPSUMMON_CORPSE_DESPAWN | Despawns instantly after death |
6 | TEMPSUMMON_CORPSE_TIMED_DESPAWN | Despawns after a specified time after death |
7 | TEMPSUMMON_DEAD_DESPAWN | Despawns when the creature disappears |
8 | TEMPSUMMON_MANUAL_DESPAWN | Despawns when UnSummon() is called |
summonTime
Timer linked to summontype