Tabelle: 'creature_text'
Table: creature_textThis table holds all the texts used within scripts. This table handles the actual text, display type (say/yell/emote) and corresponding sounds or emote (if any). StructureField | Type | Attributes | Key | Null | Default | Extra | Comment |
---|
entry | mediumint(8) | vorzeichenlos | PRI | nein | 0 | | creature_template entry | groupid | tinyint(3) | vorzeichenlos | PRI | nein | 0 | | | id | tinyint(3) | vorzeichenlos | PRI | nein | 0 | | | text | longtext | vorzeichenbehaftet | | YES | NULL | | | type | text | vorzeichenbehaftet | | YES | NULL | | | language | tinyint(3) | vorzeichenlos | | nein | 0 | | | probability | float | vorzeichenbehaftet | | nein | 0 | | | emote | mediumint(8) | vorzeichenlos | | nein | 0 | | | duration | mediumint(8) | vorzeichenlos | | nein | 0 | | | sound | mediumint(8) | vorzeichenlos | | nein | 0 | | | BroadcastTextId | mediumint(6) | vorzeichenbehaftet | | NO | 0 | | | TextRange | tinyint(3) | vorzeichenlos | | NO | 0 | | | comment | varchar(255) | vorzeichenbehaftet | | YES | NULL | | |
Description of the fieldsentryThis is the creature_template.entry to which the script is linked to. groupidIf there is more than one of the same entry (more than one text the creature says), this is the unique identifier that must be incremented for each new matching entry (ex. 0, 1, 2, 3...). If there is only one entry, this value should be 0. idEntry for grouped texts - a say will be randomly selected from one of these based on the group it belongs to. textThe text the creature will say. typeValue | Old value | Localization |
---|
12 | 0 | Say | 14 | 1 | Yell | 16 | 2 | Emote | 41 | 3 | Boss Emote | 15 | 4 | Whisper | 42 | 5 | Boss Whisper |
languageThe value found in Languages.dbc but if it's 0 than all understand. probabilityA value from 1-100 that represents the percentage chance that this text will be executed. emoteThe emote that the creature plays when the text is executed. Value to use in this field can be obtained from the emote.dbc durationTime in ms to see text. 0 is default and calculated by core. soundThe sound entry this creature will play at the same time the text is executed. Sounds are found in SoundEntries.dbc/ BroadcastTextIdId of the equivalent text found inbroadcast_text Value | Range |
---|
0 | Normal/Default | 1 | Area | 2 | Zone | 3 | Map | 4 | World |
This field allows you to label a text entry.
|