Need lua teleport help menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Summer's Avatar Active Member
    Reputation
    16
    Join Date
    Sep 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need lua teleport help

    function O_g(unit, event, player)
    unit:GossipCreateMenu(50, player, 0)
    unit:GossipMenuAddItem(0, " SECRET ", 1, 0)
    unit:GossipSendMenu(player)
    end

    function Gossip_Submenus(unit, event, player, id, intid, code)
    if(intid == 50) then
    unit:GossipCreateMenu(50, player, 0)
    unit:GossipMenuAddItem(0, " SECRET ", 1, 0)
    unit:GossipSendMenu(player)
    end

    if(intid == 1) then
    unit:GossipCreateMenu(51, player, 0)
    unit:GossipMenuAddItem(1, "Are u rdy?", 10, 0)
    unit:GossipSendMenu(player)
    end

    if(intid == 10) then
    player:Teleport(1, 1484, -4417, 25)
    end
    end

    RegisterUnitGossipEvent(123473, 1, "O_g")
    RegisterUnitGossipEvent(123473, 2, "Go_S")






    OH haha think i sound it ill try

    Yepp found the first thingy but got a new thingy now the menu shows but it dosent tele when i click it

    Error

    Tried to call invalid LUA function 'Go_S' from Arcemu (Gossip)!


    Thx for helping me =)
    Last edited by Summer; 12-24-2008 at 03:24 AM.

    Need lua teleport help
  2. #2
    Flake0207's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2008
    Posts
    221
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    use a diffrent teleporter and mod the npc flag to 3




  3. #3
    jinktreek's Avatar Member
    Reputation
    8
    Join Date
    Sep 2008
    Posts
    109
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    dont take my word for this, as I am no master scripter, but it seems to me that LUA does ot know what to register for the second "registerunitgossipevent." It cant locate a function with the name "Go_S." In this script, You have only displayed two functions but I think, instead of "Go_S" you want to write "Gossip_Submenus." So it would look like this:

    RegisterUnitGossipEvent(123473, 2, "Gossip_Submenus")

    See if that works if it doesnt, im sorry for the waste of time

  4. #4
    Summer's Avatar Active Member
    Reputation
    16
    Join Date
    Sep 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    cant change it to

    RegisterUnitGossipEvent(123473, 2, "Gossip_Submenus")

    Cous i got that on my other teleporter not sa,e spawn id ofc
    Last edited by Summer; 12-25-2008 at 02:42 AM.

  5. #5
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Flake0207 View Post
    use a diffrent teleporter and mod the npc flag to 3
    Flag is 1 for gossip

Similar Threads

  1. [Help] Need LUA help? Post here!
    By EcHoEs in forum World of Warcraft Emulator Servers
    Replies: 20
    Last Post: 10-03-2010, 01:18 PM
  2. LUA Teleporter Help
    By brayden in forum WoW EMU Questions & Requests
    Replies: 8
    Last Post: 12-20-2009, 03:46 PM
  3. i need help with a LUA teleport item and buff item...
    By trujillo in forum WoW EMU Questions & Requests
    Replies: 17
    Last Post: 09-16-2009, 02:05 AM
  4. [Help] i need Lua help with this script...
    By Ellenor in forum World of Warcraft Emulator Servers
    Replies: 25
    Last Post: 03-03-2008, 03:45 PM
  5. Need LUA Scripting Help ?
    By Snailz in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 02-04-2008, 12:36 PM
All times are GMT -5. The time now is 07:35 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