“creature_ai_texts” table¶
The creature_ai_texts
table holds all texts used by creature scripts
defined in creature_ai_scripts
.
The texts are used for creature say/yell/emote actions and may be combined with emotes.
Table structure¶
Field | Type | Null | Key | Default | Extra |
---|---|---|---|---|---|
entry | mediumint(8) | NO | PRI | NULL | |
content_default | text | NO | NULL | ||
content_loc1 | text | YES | NULL | ||
content_loc2 | text | YES | NULL | ||
content_loc3 | text | YES | NULL | ||
content_loc4 | text | YES | NULL | ||
content_loc5 | text | YES | NULL | ||
content_loc6 | text | YES | NULL | ||
content_loc7 | text | YES | NULL | ||
content_loc8 | text | YES | NULL | ||
sound | mediumint(8) unsigned | NO | 0 | ||
type | tinyint(3) unsigned | NO | 0 | ||
language | tinyint(3) unsigned | NO | 0 | ||
emote | smallint(5) unsigned | NO | 0 | ||
comment | text | YES | NULL |
Fields¶
entry¶
This references a script using an action of the type ACTION_T_TEXT
in the “creature_ai_scripts” table tables entry.
Note
IDs use the negative versions of the referenced action’s ID.
content_default¶
Contains the text presented in the default language English. Strings may contain special variables which are replaced with creature or character data. The following table lists available variables.
Value | Description |
---|---|
%s | Creature name |
$n | Character name |
$r | Character race |
$c | Character class |
content_loc1¶
Korean localization of content_default
.
content_loc2¶
French localization of content_default
.
content_loc3¶
German localization of content_default
.
content_loc4¶
Chinese localization of content_default
.
content_loc5¶
Taiwanese localization of content_default
.
content_loc6¶
Spanish Spain localization of content_default
.
content_loc7¶
Spanish Latin America localization of content_default
.
content_loc8¶
Russian localization of content_default
.
sound¶
A sound identifier. The value has to match with a sound identifier defined in SoundEntries.dbc.
type¶
The type of message to display. The following table lists all valid types.
Value | Description |
---|---|
0 | Say |
1 | Yell |
2 | Text emote |
3 | Boss emote |
4 | Whisper |
5 | Boss whisper |
language¶
A language identifier. The value has to match with a language identifier defined in Languages.dbc.
emote¶
An emote identifier. The value has to match with a emote identifier defined in Emotes.dbc.
comment¶
This documents the creature text. Currently no rules have been defined for the format of the comment. It should help identifying who and why does perform the emote.