[Guide] How to get your Npc's to talk without combat menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 27 of 27
  1. #16
    Zudrik's Avatar Member
    Reputation
    52
    Join Date
    Dec 2008
    Posts
    169
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lol, well. The script I posted earlier worked fine for me.

    Code:
    function Hargoral(Unit, event, player)
    Unit:RegisterEvent("Hargoral_Say", 80000, 0)
    end
    
    function Hargoral_Say(Unit, event, player)
    local chance = math.random(1,7)
    if(chance == 1) then
    Unit:SendChatMessage(14, 1, "Leave no single creature alive! No single building standing! Slay every alliance dog you find in your way! This day will be remembered for generations, as the day of the Stormwind's fall! Lok'thar Ogar!")
    end
    if(chance == 2) then
    Unit:SendChatMessage(14, 1, "Since the dawn of times; Since before the First War; The Horde has been superior than the Alliance. We have had many proofs of this fact all along history! But now, we will give them a finnal proof! Bring them down!")
    end
    if(chance == 3) then
    Unit:SendChatMessage(14, 1, "Of all the great battles in which I had the honour of drawing my sword for the Warchief there was not one which was lost. They were going to look at war, the red animal-war, the blood-swollen god. The mighty HORDE!")
    end
    if(chance == 4) then
    Unit:SendChatMessage(14, 1, "Forty years after a battle it is easy for a non-combatant to reason about how it ought to have been fought. It is another thing personally and under fire to direct the fighting while involved in the obscuring smoke of it.")
    end
    if(chance == 5) then
    Unit:SendChatMessage(14, 1, "But let it be sword, lance, or bolt that strikes me down: for I should think it shame to die from an iron ball from the fire-crake or bombard or any such unsoldierly weapon, which is only fitted to scare babes with its foolish noise and smoke.")
    end
    if(chance == 6) then
    Unit:SendChatMessage(14, 1, "The Alliance have waged war for many centuries. Thus violent deeds live after men upon the earth, and traces of war and bloodshed will survive in mournful shapes long after those who worked the desolation are but atoms of earth themselves.")
    end
    if(chance == 7) then
    Unit:SendChatMessage(14, 1, "Now order the ranks, and fling wide the banners, for our souls are God's and our bodies the king's, and our swords for the Warchief and for the Horde!")
    end
    end
    
    function Hargoral_Died(Unit, event, player)
    Unit:RemoveEvents()
    end 
    
    RegisterUnitEvent(700001, 18, "Hargoral")
    RegisterUnitEvent(700001, 4, "Hargoral_Died")
    Just remember that the spawn ID of your NPC will be 700001 and to have Lua enabled on your server. Don't forget it goes in the 'scripts' folder. Just as well, that you will have to wait 80 seconds before it will say anything. I would change the time to like 45000, so it goes off every 45 seconds just to see if it works.

    [Guide] How to get your Npc's to talk without combat
  2. #17
    shadowslayer133's Avatar Active Member
    Reputation
    61
    Join Date
    May 2008
    Posts
    313
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or... you could use the AI_Agents xD

    Done by piersd
    Gamer tag - Midnight133

  3. #18
    handofoberon's Avatar Member
    Reputation
    7
    Join Date
    Nov 2006
    Posts
    102
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I made this script but he doesnt say anything

    function Mogrash(Unit, event, player)
    Unit:RegisterEvent("Morgrash_Talk", 35000, 0)
    end

    function Mogrash_Talk(Unit, event, player)
    local chance = math.random(1,4)
    if(chance == 1) then
    Unit:SendChatMessage(12, 0, "Me make good weapons")
    end
    if(chance == 2) then
    Unit:SendChatMessage(12, 0, "When break, me hungry")
    end
    if(chance == 3) then
    Unit:SendChatMessage(12, 0, "Oh Oh Oh, Hot Hot Hot")
    end
    if(chance == 4) then
    Unit:SendChatMessage(12, 0, "Me allways wanted to be cook")
    end
    end

    function Mogrash_Died(Unit, event, player)
    Unit:RemoveEvents()
    end

    RegisterUnitEvent(7000, 18, "Mogrash")
    RegisterUnitEvent(7000, 4, "Mogrash_Died")
    Last edited by handofoberon; 02-14-2009 at 09:44 PM.
    Nubbzorz 4 Li4e =D

  4. #19
    shadowslayer133's Avatar Active Member
    Reputation
    61
    Join Date
    May 2008
    Posts
    313
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Fixed
    --------------------------------------------------------------------------------

    I made this script but he doesnt say anything

    function Mogrash(Unit, event, player)
    Unit:RegisterEvent("Morgrash_Talk", 7000, 0)
    end

    function Mogrash_Talk(Unit, event, player)
    local chance = math.random(1,4)
    if(chance == 1) then
    Unit:SendChatMessage(12, 0, "Me make good weapons")
    end
    if(chance == 2) then
    Unit:SendChatMessage(12, 0, "When break, me hungry")
    end
    if(chance == 3) then
    Unit:SendChatMessage(12, 0, "Oh Oh Oh, Hot Hot Hot")
    end
    if(chance == 4) then
    Unit:SendChatMessage(12, 0, "Me allways wanted to be cook")
    end
    end

    function Mogrash_Died(Unit, event, player)
    Unit:RemoveEvents()
    end

    RegisterUnitEvent(7000, 18, "Mogrash")
    RegisterUnitEvent(7000, 4, "Mogrash_Died")

    Done by piersd
    Gamer tag - Midnight133

  5. #20
    handofoberon's Avatar Member
    Reputation
    7
    Join Date
    Nov 2006
    Posts
    102
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hes still not saying anything.
    Nubbzorz 4 Li4e =D

  6. #21
    Zudrik's Avatar Member
    Reputation
    52
    Join Date
    Dec 2008
    Posts
    169
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by handofoberon View Post
    I made this script but he doesnt say anything

    function Mogrash(Unit, event, player)
    Unit:RegisterEvent("Morgrash_Talk", 35000, 0)
    end

    function Mogrash_Talk(Unit, event, player)
    local chance = math.random(1,4)
    if(chance == 1) then
    Unit:SendChatMessage(12, 0, "Me make good weapons")
    end
    if(chance == 2) then
    Unit:SendChatMessage(12, 0, "When break, me hungry")
    end
    if(chance == 3) then
    Unit:SendChatMessage(12, 0, "Oh Oh Oh, Hot Hot Hot")
    end
    if(chance == 4) then
    Unit:SendChatMessage(12, 0, "Me allways wanted to be cook")
    end
    end

    function Mogrash_Died(Unit, event, player)
    Unit:RemoveEvents()
    end

    RegisterUnitEvent(7000, 18, "Mogrash")
    RegisterUnitEvent(7000, 4, "Mogrash_Died")
    You sure that 7000 is the .npc spawn ID?

  7. #22
    handofoberon's Avatar Member
    Reputation
    7
    Join Date
    Nov 2006
    Posts
    102
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah that's what it is
    Nubbzorz 4 Li4e =D

  8. #23
    Zudrik's Avatar Member
    Reputation
    52
    Join Date
    Dec 2008
    Posts
    169
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Let's try taking out the 'player'

    Code:
    function Mogrash(Unit, Event)
    Unit:RegisterEvent("Mogrash_Talk", 35000, 0)
    end
    
    function Mogrash_Talk(Unit, Event)
    local chance = math.random(1,4)
    if(chance == 1) then
    Unit:SendChatMessage(12, 0, "Me make good weapons.")
    end
    if(chance == 2) then
    Unit:SendChatMessage(12, 0, "When break, me hungry.")
    end
    if(chance == 3) then
    Unit:SendChatMessage(12, 0, "Oh Oh Oh, Hot Hot Hot!")
    end
    if(chance == 4) then
    Unit:SendChatMessage(12, 0, "Me always wanted to be cook.")
    end
    end
    
    function Mogrash_Died(Unit, Event)
    Unit:RemoveEvents()
    end
    
    RegisterUnitEvent(7000, 18, "Mogrash")
    RegisterUnitEvent(7000, 4, "Mogrash_Died")
    It worked for me, I'm using ArcEmu.

  9. #24
    iday's Avatar Member
    Reputation
    10
    Join Date
    Jan 2009
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by handofoberon View Post
    Yeah that's what it is

    Mate, its Say not Talk thats the proplem you have.

  10. #25
    Zudrik's Avatar Member
    Reputation
    52
    Join Date
    Dec 2008
    Posts
    169
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by iday View Post
    Mate, its Say not Talk thats the proplem you have.
    It doesn't matter what the function is called. You could even have it called dhiodha, all that maters is that the first funtion registers it, and the registration at the bottom is 18.

  11. #26
    anders1993's Avatar Member
    Reputation
    -2
    Join Date
    May 2007
    Posts
    38
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    seems like a pretty good guide

  12. #27
    lyonar96's Avatar Sergeant
    Reputation
    5
    Join Date
    Aug 2010
    Posts
    36
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey, I used your script guide and it has no errors in the arcemu-world.exe, but in game nothing happens.
    Here is the script I made
    Code:
    function Barkeep_Jenkins(Unit, Event)
    Unit:RegisterEvent("Barkeep_Jenkins_say", 20000, 0)
    end
    
    function Barkeep_Jenkins_say(Unit, Event)
    local chance = math.random(1,4)
    if(chance == 1) then
    Unit:SendChatMessage(1, 0, "Fresh Ale! Made this Morning and Shipped by Portal!")
    end
    if(chance == 2) then
    Unit:SendChatMessage(1, 0, "Hey! Jack! We have your Favourite Bourbon in Stock!")
    end
    if(chance == 3) then
    Unit:SendChatMessage(1, 0, "Come in for a pint!")
    end
    if(chance == 4) then
    unit:SendChatMessage(1, 0, "Need a refreshment?")
    end
    end
    
    function Barkeep_Jenkins_Died(Unit, Event)
    Unit:RemoveEvents()
    end
    
    RegisterUnitEvent(100003, 18, "Barkeep_Jenkins")
    RegisterUnitEvent(100003, 4, "Barkeep_Jenkins_Died")
    Any help? thanks

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 10
    Last Post: 02-21-2015, 06:29 AM
  2. [Guide] How to get your Auctions sold fast.
    By Rogueshaadow in forum World of Warcraft Guides
    Replies: 13
    Last Post: 03-30-2010, 03:15 PM
  3. [Guide] How To Get your Items on The Auction house SOLD FAST!
    By XC4T4LY5TX in forum World of Warcraft Guides
    Replies: 5
    Last Post: 01-24-2010, 01:06 AM
  4. [GUIDE] how to get your server public whit hamachi..easy.
    By marsa in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 05-20-2009, 01:33 PM
  5. [Guide] How to get your scammed account back
    By treyska in forum World of Warcraft Guides
    Replies: 2
    Last Post: 01-14-2008, 01:56 PM
All times are GMT -5. The time now is 12:33 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search