[Lua] Working Hide & Seek menu

User Tag List

Results 1 to 5 of 5
  1. #1
    MuffinVendor's Avatar Active Member
    Reputation
    47
    Join Date
    Jun 2008
    Posts
    88
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Lua] Working Hide & Seek

    First of all all credits for the original script goes to Murlock.

    I only made it work .

    Code:
    function On_Gossip (pUnit, event, player)
    pUnit:GossipCreateMenu(100, player, 0)
    pUnit:GossipMenuAddItem(9, "Claim Your Prize!", 1, 0)
    pUnit:GossipSendMenu(player)
    end
    
    function Gossip_Submenus(pUnit, event, player, id, intid, code)
    if(intid == 1) then
    pUnit:GossipCreateMenu(101, player, 0)
    pUnit:GossipMenuAddItem(9, "Infinity Blade", 2, 0)
    pUnit:GossipMenuAddItem(9, "Staff of Disengration", 3, 0)
    pUnit:GossipMenuAddItem(9, "Phaseshift Bulwark", 4, 0)
    pUnit:GossipSendMenu(player)
    end
    
    if(intid == 2) then
    pUnit:SendChatMessage(14, 0, "I have been found! The event is over!")
    player:AddItem(30312, 1)
    pUnit:Despawn(0, 0)
    end
    
    if(intid == 3) then
    pUnit:SendChatMessage(14, 0, "I have been found! The event is over!")
    player:AddItem(30313, 1)
    pUnit:Despawn(0, 0)
    end
    
    if(intid == 4) then
    pUnit:SendChatMessage(14, 0, "I have been found! The event is over!")
    player:AddItem(30314, 1)
    pUnit:Despawn(0, 0)
    end
    end
    
    RegisterUnitGossipEvent(NPCID, 1, "On_Gossip")
    RegisterUnitGossipEvent(NPCID, 2, "Gossip_Submenus")
    Change NPCID to your ID.

    I chose some TK rewards for my NPC just to post it here.

    Change the name and Additem(ItemID) to yours

    Enjoy :wave:

    (Sorry if I'm kindda reposting but I really wanna expand my little Lua knowledge that I know, I'm only 14 so I'm still learning :P)

    Please post comments!

    [Lua] Working Hide & Seek
  2. #2
    beileroord's Avatar Member
    Reputation
    10
    Join Date
    Nov 2007
    Posts
    55
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice but the Npc yells... any idea how to let it announce In World ?

  3. #3
    nickelo's Avatar Active Member
    Reputation
    56
    Join Date
    Aug 2007
    Posts
    463
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Repost. And you didn't really change anythingin the orgiinal script lmfao...u just changed the function names
    Database Evolved Developer:wave:

  4. #4
    MuffinVendor's Avatar Active Member
    Reputation
    47
    Join Date
    Jun 2008
    Posts
    88
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well it didn't work me before and I found errors, he reposted my script into hes so yes I did change it. If you don't like my work don't comment.

  5. #5
    BladeDark's Avatar Member
    Reputation
    4
    Join Date
    Feb 2008
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    May I ask what the hide and seek thing is?

Similar Threads

  1. [Event] Hide And Seek
    By Murlock. in forum WoW EMU General Releases
    Replies: 70
    Last Post: 05-14-2009, 01:39 AM
  2. Lua issue ( hide seek script)
    By zozoka in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 09-30-2008, 04:24 PM
  3. Event: Hide n seek mod
    By pewor in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 08-13-2008, 08:17 AM
  4. Why dosent this lua work ? cant find it
    By Summer in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 05-07-2008, 02:35 PM
  5. Strange Hide 'n' seek place!
    By Strichnine in forum World of Warcraft Exploits
    Replies: 16
    Last Post: 11-17-2007, 07:20 PM
All times are GMT -5. The time now is 05:32 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search