“creature_ai_summons” table

The creature_ai_summons table holds information supporting summons executed by creatures through AI scripts.

Table structure

Field Type Null Key Default Extra
id int(11) unsigned NO PRI NULL auto_increment
position_x float NO   0  
position_y float NO   0  
position_z float NO   0  
orientation float NO   0  
spawntimesecs int(11) unsigned NO   120  
comment varchar(255) NO      

Fields

id

This references the third action parameter in the “creature_ai_scripts” table tables entry with a summon action assigned.

position_x

The X position for the creature to be spawn.

position_y

The Y position for the creature to be spawn.

position_z

The Z position for the creature to be spawn.

orientation

The orientation for the creature to be spawn.

spawntimesecs

The despawn timer for the summoned creature.

comment

Documents what kind of creature will be summoned. Currently it is common to use the summoned creature’s “creature_template” table entry value to describe what is summoned.