Welcome to the MMOtop - Arcemu, Mangos, Trinity.
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Nupper's Avatar
    Status : Nupper is offline
    Join Date : Aug 2009
    Location : Red Castle Entertainment UK
    Posts : 348
    Thanks: 1
    Thanked 79 Times in 37 Posts
    Rep Power : 4
    Reputation:151Nupper has a spectacular aura about Nupper has a spectacular aura about

    Default [Lua] NPC talk on spawn

    Code:
    function Lolwut_OnSpawn(pUnit, event)
             pUnit:RegisterTimedEvent("Lolwut_Talk", 80000, 0)
    end
    
    function Npc2_OnSpawn(pUnit, event)
             pUnit:RegisterTimedEvent("Npc2_Talk", 88000, 0)
    end
    
    function Lolwut_Talk(pUnit, event)
             pUnit:SendChatMessage(12, 0, "HI DUDE!")
    end
    
    function Npc2_Talk(pUnit, event)
             pUnit:SendChatMessage(12, 0, "...Hi?")
    end
    
    RegisterUnitEvent(ID, 18, "Lolwut_OnSpawn")
    RegisterUnitEvent(ID, 18, "Npc2_OnSpawn")
    [Only registered and activated users can see links. ]
    ©2011 Red Castle Entertainment, Inc. All rights reserved.
    All trademarks referenced herein are the properties of their respective owners.
    ©2011 Red Castle Entertainment. All rights reserved.

    [Only registered and activated users can see links. ], [Only registered and activated users can see links. ], Repacks, Cracks, Under Development
    Red Castle Entertainment Protected By Avast Internet Security 6

  2. #2
    Noblebeastx's Avatar
    Status : Noblebeastx is offline
    Join Date : May 2010
    Location : Whisperwind-WoW
    Posts : 1,664
    Thanks: 200
    Thanked 154 Times in 131 Posts
    Rep Power : 5
    Reputation:137Noblebeastx will become famous soon enough Noblebeastx will become famous soon enough

    Default

    Hasn't this been posted just a few days ago...

    Retired MMOTop Moderator/Super Moderator/Admin
    Yes, I Am A Beast And The Beast Is Unleashed.


 

Visitors found this page by searching for:

wow npc talk script

lua npc events

wow lua onspawn

wow lua summon npc on click

Red Castle Entertainment lua

lua npc talk

lua scripting an npc to talk

onSpawn

wow NPC talk lua

wow lua npc speaks on spawn

trinity npc talk

wow npc speaking after spawn lua

npc spawner lua wow

wow lua npc speak on spawn

arcemu speaking npc lua

script wow to talk to a npc

lua function OnSpawn

wow arcemu lua spawn ids

speak npc lua

wow arcemu lua despawn

npc talk lua

npc luea speak

npc talk on spawn wow arcemu

wow lua npc talk

onspawn lua 5.1

SEO Blog

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts