Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 9 of 9

Thread: Guide Npc

  1. #1
    Contributor
    Boxxy's Avatar
    Join Date
    Aug 2008
    Location
    Florida
    Posts
    351
    Post Thanks / Like
    Rep Power
    18
    Reputation
    136

    Guide Npc


    Register to remove this ad
    Code:
     
    ---Made by noobcraft----
     
    local npcid = 400009
     
    function NPC_main_menu(pUnit, player)
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(0, "What do i do in this server?", 4, 0) 
    pUnit:GossipSendMenu(player)
    end
     
    function NPC_on_gossip_talk(pUnit, event, player)
    NPC_main_menu(pUnit, player)
    end
     
    function NPC_on_gossip_select(pUnit, event, player, id, intid, code)
    if(intid == 4) then 
    pUnit:SendChatMessage(12, 0, "Messege")
    player:GossipComplete()
    end
    end
     
    RegisterUnitGossipEvent(npcid, 1, "NPC_on_gossip_talk")
    RegisterUnitGossipEvent(npcid, 2, "NPC_on_gossip_select")





    › See More: Guide Npc
    Last edited by Boxxy; 03-08-08 at 11:30 PM.
    your mother



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  3. #2
    Founder
    Apple's Avatar
    Join Date
    Jul 2008
    Location
    HeaveN
    Posts
    15,916
    Post Thanks / Like
    Rep Power
    10
    Reputation
    295
    nice job lol , u are contributing nice , but u need to put script in "Code" ""





  4. #3
    Succy
    Guest
    I don't know about this, I guess it can be ok, but basiclly they could just go right away to the servers website and see :P Or you could just do a WrapNPC XD
    But good job I guess... SO +Rep

  5. #4
    Sergeant

    Join Date
    Jul 2008
    Location
    In Earth
    Posts
    84
    Post Thanks / Like
    Rep Power
    17
    Reputation
    11
    lol i never knew b4 that we can do GossipScript in LUA too :O
    x2

  6. #5
    Contributor
    StickyIcky's Avatar
    Join Date
    Jul 2008
    Location
    127.0.0.1
    Posts
    747
    Post Thanks / Like
    Rep Power
    19
    Reputation
    188
    I think you might need LUA++

  7. #6
    Succy
    Guest
    Yep you do :P Wig, you didn't phail totally :P

  8. #7
    Contributor
    Boxxy's Avatar
    Join Date
    Aug 2008
    Location
    Florida
    Posts
    351
    Post Thanks / Like
    Rep Power
    18
    Reputation
    136
    this works great if you dont have lua++
    your mother

  9. #8
    Succy
    Guest
    Are you sure? Cause those are defnitly from Lua++... :S

  10. #9
    Contributor
    Boxxy's Avatar
    Join Date
    Aug 2008
    Location
    Florida
    Posts
    351
    Post Thanks / Like
    Rep Power
    18
    Reputation
    136

    Register to remove this ad
    hmmm ill cheack
    your mother

 

 

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!
SEO Blog

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 11:17 AM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org