Make npcs yell things? menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Noobcraft's Avatar Member
    Reputation
    141
    Join Date
    Aug 2007
    Posts
    598
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Make npcs yell things?

    i saw that gnome in ironforge and i was wonder could i make npcs yell like that? anyway to do that? if so how?



    Make npcs yell things?
  2. #2
    MathWizard's Avatar Member
    Reputation
    22
    Join Date
    Nov 2007
    Posts
    55
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    .npc yell blah blah blah.
    or is it .yell blah blah blah

    One of those should work.

  3. #3
    Noobcraft's Avatar Member
    Reputation
    141
    Join Date
    Aug 2007
    Posts
    598
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no i mean how in ironforge the npc walks around and yells stuff without the use of commands



  4. #4
    Spectre90's Avatar Contributor
    Reputation
    92
    Join Date
    Jan 2008
    Posts
    77
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you make a dll script like this:

    Code:
    class randomnpc : public CreatureAIScript
    {
    public:
    	ADD_CREATURE_FACTORY_FUNCTION(randomnpc);
    
    
    
    	randomnpc(Creature* pCreature) : CreatureAIScript(pCreature)
    	{
    		RegisterAIUpdateEvent(30000);
    		
    	}
    
    	void AIUpdate()
    	{
    		_unit->SendChatMessage(CHAT_MSG_MONSTER_YELL, LANG_UNIVERSAL, "I like to say random things!");
    		
    	}
    
    	void OnDied(Unit * randomnpc)
    	{
    		RemoveAIUpdateEvent();
    
    	}
    
    
    
    };
    
    mgr->register_creature_script(npcidhere, &randomnpc::Create);
    he'd yell the message every 30 seconds.

    You could and should do this via other means (database or LUA) but I have DLL on my brain right now =X
    Last edited by Spectre90; 01-22-2008 at 03:11 AM.

  5. #5
    Illidan1's Avatar Banned
    Reputation
    244
    Join Date
    Jul 2007
    Posts
    2,251
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or will .lua Scripts, Try this \/ Change the Things in Red

    function NpcName_Event (pUnit, Event)
    pUnit:SendChatMessage (5, 0, "What you wont your Npc to say")
    end
    function NpcName_Event (unit, event, miscunit, misc)
    print "NpcName_Event initiated"
    unit:RegisterEvent("NpcName_Event ",15000,0)
    end
    RegisterUnitEvent(Npc Spawn ID,1,"NpcName")
    It is hard, might need to Ask Gastric PM him here > Here

    Good luck

Similar Threads

  1. [Help] How to make npc say things
    By Ellenor in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 10-08-2008, 05:21 AM
  2. make Npc's dissapear
    By stickynicky21 in forum WoW EMU Exploits & Bugs
    Replies: 3
    Last Post: 02-23-2008, 06:12 AM
  3. [Service] Will Make Npc Teleporter
    By ~SaiLyn~ in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 02-20-2008, 03:23 PM
  4. How do I make npcs?
    By noobert in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 09-04-2007, 02:38 PM
  5. Make NPC Guards Mad!
    By Tbone in forum World of Warcraft Exploits
    Replies: 19
    Last Post: 07-14-2006, 10:34 PM
All times are GMT -5. The time now is 11:12 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