LF decent lua scripter menu

User Tag List

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

    LF decent lua scripter

    Im scripting an instance and im looking for someone to make a script for me for an npc that teleports you past the wall to the instance (Brandon the Survivor, he is IN the instance, but i spawned walls so its kinda like a starting zone, he says "Are you guys ready to take them down?" "And when you say "We are ready!" I need it to teleport him to an ID past the wall. i know what the ID is, so you can jsut put MAP X Y Z for that in the script, but i need a script that has ONE teleport option on it.

    LF decent lua scripter
  2. #2
    djCorrupT's Avatar Member
    Reputation
    48
    Join Date
    Dec 2008
    Posts
    237
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    function On_Gossip(unit,Event,player)
    unit:GossipCreateMenu(100, player, 0)
    unit:GossipMenuAddItem(2, "Are you guys ready to take them down?", 1, 0)
    unit:GossipSendMenu(player)
    end
    
    function Gossip_Submenus(unit,event,player,id,intid,code)
    
    if(intid == 999) then
    unit:GossipCreateMenu(200, player, 0)
    unit:GossipCreateMenu(2, "Are you guys ready to take them down?", 1, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 1) then
    unit:GossipCreateMenu(200,player,0)
    unit:GossipMenuAddItem(1, "We are ready!", 5, 0)
    unit:GossipMenuAddItem(1, "No, not yet.", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 5) then
    player:Teleport(mapID,x,y,z)
    unit:GossipComplete(player)
    end
    end
    
    RegisterUnitGossipEvent(npcid, 1, "On_Gossip")
    RegisterUnitGossipEvent(npcid, 2, "Gossip_Submenus")
    SHOULD work. enjoy. if you have any issues just post back

  3. #3
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmmmmmmm you just gave me a great idea for a new script kinda, not sure if it will work yet
    Lunar Gaming - Reaching For The Stars

  4. #4
    popwar0012's Avatar Member
    Reputation
    1
    Join Date
    Feb 2008
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    DJcurrupt, if it works thank you very much!

  5. #5
    popwar0012's Avatar Member
    Reputation
    1
    Join Date
    Feb 2008
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Its some kind of quiz??

Similar Threads

  1. Looking for someone with decent lua experience
    By Reflection in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 07-30-2008, 11:10 PM
  2. LUA Scripters
    By mager1794 in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 06-12-2008, 06:23 PM
  3. Things a LUA Scripter Should Know.
    By Snailz in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 04-13-2008, 11:50 AM
  4. Looking for a Job on a server as a LUA scripter
    By Snailz in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 03-09-2008, 12:37 PM
  5. Ultimate repack dark legacy need lua scripter!!
    By Tom_2001 in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 01-26-2008, 05:30 PM
All times are GMT -5. The time now is 03:31 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