Creature timed emotes

From ArcEmu-Wiki
Revision as of 09:02, 7 July 2010 by 94.112.130.62 (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Creature timed emotes


Contents



Spawnid

id os spawn from creature_spawns table


rowid

unique ID of action done by this row


type

1 - change standstate
2 - change emotestate
3 - do emote oneshoot


value

depends on type


msg

say something when creature is changing standstate/emote etc.


msg_type

CHAT_MSG_MONSTER_SAY     = 12,
CHAT_MSG_MONSTER_PARTY   = 13,
CHAT_MSG_MONSTER_YELL    = 14,
CHAT_MSG_MONSTER_WHISPER = 15,
CHAT_MSG_MONSTER_EMOTE	  = 16


msg_lang

0 - universal language
1 - orcish
7 - common


expire_after

time in miliseconds ( 1 sec = 1000 ms )


SQL Structure

CREATE TABLE `creature_timed_emotes` (
  `spawnid` int(10) unsigned NOT NULL default '0',
  `rowid` int(10) unsigned NOT NULL default '0',
  `type` tinyint(1) unsigned NOT NULL default '1',
  `value` int(10) unsigned NOT NULL default '0',
  `msg` text,
  `msg_type` int(10) unsigned NOT NULL default '0',
  `msg_lang` int(10) unsigned NOT NULL default '0',
  `expire_after` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`spawnid`,`rowid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Personal tools