Jump to content
TrinityCore

oRKENtaL

Plebs
  • Posts

    2
  • Joined

  • Last visited

Everything posted by oRKENtaL

  1. Thanks! That worked! I'm so happy! Now onto the big task and learn this fully... I didn't even EmotesText.dbc existed. What is Emotes.dbc used for then?
  2. Hello, I'm trying to get the hang of SmartAI but it's proving to be difficult. Starting with someone easy, I picked a random npc (Jaina, entry id 35320) and doing event is on recieve_emote (id 17, which is kiss) the action is DIE (37) And target self. UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 35320; DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 35320); INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (35320, 0, 0, 0, 22, 0, 100, 0, 17, 0, 0, 0, 37, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lady Jaina Proudmoore - Received Emote 17 - Kill Self'); But the problem is that it doesn't work. I've resspawned her, restarted the server but she still doesn't die. Any help would be most appreciated. Thanks!
×
×
  • Create New...