Advertisement
Rochet2

Some teleporter

Jun 26th, 2012
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 19.34 KB | None | 0 0
  1. local T = {}
  2.  
  3. local function Teleporter_OnGossipTalk(pUnit, event, pPlayer)
  4.     --if(_player:IsInCombat() == true) then
  5.     --_player:SendAreaTriggerMessage("You are in combat! Please come back --later.")
  6.     --else
  7.     pUnit:GossipCreateMenu(100, pPlayer, 0)
  8.     pUnit:GossipMenuAddItem(3, "[Teleporter Services]", 600, 0)
  9.     pUnit:GossipMenuAddItem(3, "[Buff Me!]", 602, 0)
  10.     pUnit:GossipMenuAddItem(3, "[Remove Ressurection Sickness]", 601, 0)
  11.     pUnit:GossipSendMenu(pPlayer)
  12. end
  13.  
  14. local function Teleporter_OnGossipSelect(pUnit, event, player, id, intid, code)
  15.     if (intid == 602) then
  16.         pUnit:FullCastSpellOnTarget(58921, player)
  17.         pUnit:FullCastSpellOnTarget(26991, player)
  18.         pUnit:FullCastSpellOnTarget(43223, player)
  19.         pUnit:FullCastSpellOnTarget(33078, player)
  20.         pUnit:FullCastSpellOnTarget(40567, player)
  21.         pUnit:FullCastSpellOnTarget(33080, player)
  22.         pUnit:FullCastSpellOnTarget(33082, player)
  23.         --player:OnGossipTalk(pUnit, event, player)
  24.     end
  25.  
  26.     if(intid == 600) then
  27.         --if(player:GetPhase() == 2) then
  28.         --player:Phase(0, 1)
  29.         --end
  30.  
  31.         pUnit:GossipCreateMenu(99, player, 0)
  32.         local race=player:GetPlayerRace()
  33.         if race==2 or race==5 or race==6 or race==8 or race==10 then
  34.             pUnit:GossipMenuAddItem(0, "Horde Cities",200, 0)
  35.             pUnit:GossipMenuAddItem(0, "Azshara Crater", 555, 0)
  36.         else
  37.             pUnit:GossipMenuAddItem(0, "Alliance Cities",201, 0)
  38.             pUnit:GossipMenuAddItem(0, "Azshara Crater", 556, 0)
  39.         end
  40.  
  41.         pUnit:GossipMenuAddItem(0, "Azshara Crater Brintidge(DEV)", 557, 0)
  42.         pUnit:GossipMenuAddItem(0, "Northrend Instances", 208, 0)
  43.         pUnit:GossipMenuAddItem(0, "Northrend Locations", 648, 0)
  44.         pUnit:GossipMenuAddItem(0, "Azeroth Instances", 205, 0)
  45.         pUnit:GossipMenuAddItem(0, "Outland Instances", 206, 0)
  46.         pUnit:GossipMenuAddItem(0, "Custom Instances", 209, 0)
  47.         pUnit:GossipMenuAddItem(0, "Custom Zones", 210, 0)
  48.         pUnit:GossipMenuAddItem(0, "PvP Arenas", 207, 0)
  49.         pUnit:GossipMenuAddItem(0, "Dalaran", 649, 0)
  50.         pUnit:GossipMenuAddItem(0, "Forbintidden City", 559, 0)
  51.         pUnit:GossipMenuAddItem(0, "The Lost Vale", 560, 0)
  52.         pUnit:GossipMenuAddItem(0, "Halloween Town", 500, 0)
  53.         pUnit:GossipMenuAddItem(0, "Ironclad Cove", 501, 0)
  54.         --pUnit:GossipMenuAddItem(4, "[Back]", 1000, 0)
  55.         pUnit:GossipSendMenu(player)
  56.     end
  57.  
  58.     if (intid == 200) then
  59.         pUnit:GossipCreateMenu(100, player, 0)
  60.         pUnit:GossipMenuAddItem(0, "Horde Mall", 455, 0)
  61.         pUnit:GossipMenuAddItem(0, "Orgrimmar", 304, 0)
  62.         pUnit:GossipMenuAddItem(0, "The Undercity", 305, 0)
  63.         pUnit:GossipMenuAddItem(0, "Thunder Bluff", 306, 0)
  64.         pUnit:GossipMenuAddItem(0, "Silvermoon", 307, 0)
  65.         --pUnit:GossipMenuAddItem(4, "[Back]", 600, 0)
  66.         pUnit:GossipSendMenu(player)
  67.     end
  68.  
  69.     if (intid == 201) then
  70.         pUnit:GossipCreateMenu(100, player, 0)
  71.         pUnit:GossipMenuAddItem(0, "Alliance Mall", 454, 0)
  72.         pUnit:GossipMenuAddItem(0, "Stormwind", 300, 0)
  73.         pUnit:GossipMenuAddItem(0, "Ironforge", 301, 0)
  74.         pUnit:GossipMenuAddItem(0, "Darnassus", 302, 0)
  75.         pUnit:GossipMenuAddItem(0, "The Exodar", 303, 0)
  76.         --pUnit:GossipMenuAddItem(4, "[Back]", 600, 0)
  77.         pUnit:GossipSendMenu(player)
  78.     end
  79.  
  80.     if(intid == 208) then
  81.         pUnit:GossipCreateMenu(100, player, 0)
  82.         pUnit:GossipMenuAddItem(0, "Utgarde Keep", 779, 0)
  83.         pUnit:GossipMenuAddItem(0, "Utgard Pinnacle", 778, 0)
  84.         pUnit:GossipMenuAddItem(0, "Draktharon Keep", 780, 0)
  85.         pUnit:GossipMenuAddItem(0, "Halls of Stone", 781, 0)
  86.         pUnit:GossipMenuAddItem(0, "Halls of Lighting", 782, 0)
  87.         pUnit:GossipMenuAddItem(0, "The Nexus", 785, 0)
  88.         pUnit:GossipMenuAddItem(0, "The Oculus", 786, 0)
  89.         pUnit:GossipMenuAddItem(0, "The Old Kingdom", 787, 0)
  90.         pUnit:GossipMenuAddItem(0, "Trial of the Champion", 795, 0)
  91.         pUnit:GossipMenuAddItem(0, "Azjol-nerub", 786, 0)
  92.         pUnit:GossipMenuAddItem(0, "Azjol-nerub", 787, 0)
  93.         pUnit:GossipMenuAddItem(0, "Azjol-nerub", 788, 0)
  94.         pUnit:GossipMenuAddItem(0, "Azjol-nerub", 789, 0)
  95.         pUnit:GossipMenuAddItem(4, "Northrend Raintids--->", 888, 0)
  96.         --pUnit:GossipMenuAddItem(4, "[Back]", 600, 0)
  97.         pUnit:GossipSendMenu(player)
  98.     end
  99.  
  100.     if(intid == 648) then
  101.         pUnit:GossipCreateMenu(100, player, 0)
  102.         pUnit:GossipMenuAddItem(0, "Dragonblight", 650, 0)
  103.         pUnit:GossipMenuAddItem(0, "Howling Fjord", 651, 0)
  104.         pUnit:GossipMenuAddItem(0, "Grizzly Hills", 652, 0)
  105.         pUnit:GossipMenuAddItem(0, "Icecrown", 653, 0)
  106.         pUnit:GossipMenuAddItem(0, "Strom Peaks", 654, 0)
  107.         pUnit:GossipMenuAddItem(0, "Zul'Drak", 655, 0)
  108.         pUnit:GossipMenuAddItem(0, "Sholazar Basin", 656, 0)
  109.         pUnit:GossipMenuAddItem(0, "Borean Tundra", 657, 0)
  110.         pUnit:GossipMenuAddItem(0, "Wintergrasp", 658, 0)
  111.         pUnit:GossipMenuAddItem(0, "Crystalsong", 659, 0)
  112.         --pUnit:GossipMenuAddItem(4, "[Back]", 600, 0)
  113.         pUnit:GossipSendMenu(player)
  114.     end
  115.  
  116.     if (intid == 205) then
  117.         pUnit:GossipCreateMenu(100, player, 0)
  118.         pUnit:GossipMenuAddItem(0, "Shadowfang Keep", 371, 0)
  119.         pUnit:GossipMenuAddItem(0, "Scarlet Monastery", 372, 0)
  120.         pUnit:GossipMenuAddItem(0, "Zul'Farrak", 373, 0)
  121.         pUnit:GossipMenuAddItem(0, "Stratholme", 374, 0)
  122.         pUnit:GossipMenuAddItem(0, "Scholomance", 375, 0)
  123.         pUnit:GossipMenuAddItem(0, "Blackrock Spire", 376, 0)
  124.         pUnit:GossipMenuAddItem(0, "Onyxia's Lair", 377, 0)
  125.         pUnit:GossipMenuAddItem(0, "Molten Core", 378, 0)
  126.         pUnit:GossipMenuAddItem(0, "Zul'Gurub", 379, 0)
  127.         pUnit:GossipMenuAddItem(0, "Karazhan", 380, 0)
  128.         pUnit:GossipMenuAddItem(0, "Ahn'Qirai 20", 381, 0)
  129.         pUnit:GossipMenuAddItem(0, "Ahn'Qirai 40", 382, 0)
  130.         pUnit:GossipMenuAddItem(0, "Naxxramas", 383, 0)
  131.         pUnit:GossipMenuAddItem(0, "Caverns of Time", 384, 0)
  132.         --pUnit:GossipMenuAddItem(4, "[Back]", 600, 0)
  133.         pUnit:GossipSendMenu(player)
  134.     end
  135.  
  136.     if (intid == 206) then
  137.         pUnit:GossipCreateMenu(100, player, 0)
  138.         pUnit:GossipMenuAddItem(0, "Outlands Raintids", 285, 0)
  139.         pUnit:GossipMenuAddItem(0, "Hellfire Ramparts", 386, 0)
  140.         pUnit:GossipMenuAddItem(0, "The Blood Furnace", 387, 0)
  141.         pUnit:GossipMenuAddItem(0, "The Shattered Halls", 388, 0)
  142.         pUnit:GossipMenuAddItem(0, "The Underbog", 389, 0)
  143.         pUnit:GossipMenuAddItem(0, "The Slave Pens", 390, 0)
  144.         pUnit:GossipMenuAddItem(0, "The Steamvault", 391, 0)
  145.         pUnit:GossipMenuAddItem(0, "Mana-Tombs", 392, 0)
  146.         pUnit:GossipMenuAddItem(0, "Auchenai Crypts", 393, 0)
  147.         pUnit:GossipMenuAddItem(0, "Sethekk Halls", 394, 0)
  148.         pUnit:GossipMenuAddItem(0, "Shadow Labyrinth", 395, 0)
  149.         pUnit:GossipMenuAddItem(0, "The Mechanar", 396, 0)
  150.         pUnit:GossipMenuAddItem(0, "The Botanica", 397, 0)
  151.         pUnit:GossipMenuAddItem(0, "The Arcatraz", 398, 0)
  152.         --pUnit:GossipMenuAddItem(4, "[Back]", 600, 0)
  153.         pUnit:GossipSendMenu(player)
  154.     end
  155.  
  156.     if (intid == 209) then
  157.         pUnit:GossipCreateMenu(100, player, 0)
  158.         pUnit:GossipMenuAddItem(0, "Stormwind Vault", 558, 0)
  159.         pUnit:GossipMenuAddItem(0, "The Emerald Nightmare", 451, 0)
  160.         pUnit:GossipMenuAddItem(0, "The Emerald Forest", 452, 0)
  161.         pUnit:GossipMenuAddItem(0, "The Twisted Nightmare", 453, 0)
  162.         --pUnit:GossipMenuAddItem(4, "[Back]", 600, 0)
  163.         pUnit:GossipSendMenu(player)
  164.     end
  165.  
  166.     if (intid == 210) then
  167.         pUnit:GossipCreateMenu(100, player, 0)
  168.         pUnit:GossipMenuAddItem(0, "Ruins of Eldarath", 450, 0)
  169.         pUnit:GossipMenuAddItem(0, "World Tree", 456, 0)
  170.         pUnit:GossipMenuAddItem(0, "Party Beach!", 457, 0)
  171.         pUnit:GossipMenuAddItem(0, "The Twisted Nightmare", 453, 0)
  172.         pUnit:GossipMenuAddItem(0, "Chrome Depths", 458, 0)
  173.         --pUnit:GossipMenuAddItem(4, "[Back]", 600, 0)
  174.         pUnit:GossipSendMenu(player)
  175.     end
  176.  
  177.     if (intid == 207) then
  178.             pUnit:GossipCreateMenu(100, player, 0)
  179.         pUnit:GossipMenuAddItem(0, "Gurabashi Arena", 410, 0)
  180.         ---pUnit:GossipMenuAddItem(4, "[Back]", 600, 0)
  181.         pUnit:GossipSendMenu(player)
  182.     end
  183.  
  184.     if (intid == 285) then
  185.         pUnit:GossipCreateMenu(100, player, 0)
  186.         pUnit:GossipMenuAddItem(0, "Magtherintidon's Lair", 399, 0)
  187.         pUnit:GossipMenuAddItem(0, "Serpentshrine Cavern", 400, 0)
  188.         pUnit:GossipMenuAddItem(0, "Gruul's Lair", 401, 0)
  189.         pUnit:GossipMenuAddItem(0, "The Eye", 402, 0)
  190.         pUnit:GossipMenuAddItem(0, "Black Temple", 403, 0)
  191.         pUnit:GossipMenuAddItem(0, "Sunwell Plateau", 404, 0)
  192.         --pUnit:GossipMenuAddItem(4, "[Back]", 600, 0)
  193.         pUnit:GossipSendMenu(player)
  194.     end
  195.  
  196.     --Northrend Raids
  197.     if (intid == 888) then
  198.         pUnit:GossipCreateMenu(100, player, 0)
  199.         pUnit:GossipMenuAddItem(0, "Naxxramas", 783, 0)
  200.         pUnit:GossipMenuAddItem(0, "Eye of Eternity", 784, 0)
  201.         pUnit:GossipMenuAddItem(0, "Obsintidian Sanctum", 789, 0)
  202.         pUnit:GossipMenuAddItem(0, "Ulduar", 790, 0)
  203.         pUnit:GossipMenuAddItem(0, "Trial of the Crusader", 791, 0)
  204.         pUnit:GossipMenuAddItem(0, "Icecrown Citadel", 792, 0)
  205.         pUnit:GossipMenuAddItem(0, "Ruby Sanctum", 793, 0)
  206.         --pUnit:GossipMenuAddItem(4, "[Back]", 208, 0)
  207.         pUnit:GossipSendMenu(player)
  208.     end
  209.  
  210.     --Removes Res Sickness(works!)
  211.     if (intid == 601) then
  212.         if(player:HasAura(15007) == true) then
  213.             player:RemoveAura(15007)
  214.             player:SendBroadcastMessage("You have been cured of Resurrection Sickness!")
  215.         else
  216.             player:SendBroadcastMessage("You do not currently have Resurrection Sickness!")
  217.         end
  218.         player:OnGossipTalk(pUnit, event, player, pMisc)
  219.     end
  220.  
  221.  
  222.     --Halloween Town (Stored in Phase 2, Teleporter Phases players on
  223.     --  teleport)(works!)
  224.     if(intid == 500) then
  225.         _player:Phase(0, 2)
  226.         player:Teleport(0, -10739.403320, 284.131470, 40.588295, 6.174536)
  227.         player:GossipComplete()
  228.     end
  229.  
  230.     if(intid == 501) then
  231.         player:Teleport(36, -1525.051880, 477.909210, 0.000014, 2.015801)
  232.         player:GossipComplete()
  233.     end
  234.  
  235.     --Dalaran
  236.     if(intid == 649) then
  237.         player:Teleport(571, 5806.516602, 628.091370, 647.240662)
  238.         player:GossipComplete()
  239.     end
  240.  
  241.  
  242.     if (intid == 300) then
  243.     player:Teleport(0, -9100.480469, 406.950745, 92.594185)
  244.     player:GossipComplete()
  245.     end
  246.     if (intid == 301) then
  247.     player:Teleport(0, -5028.265137, -825.976563, 495.301575)
  248.     player:GossipComplete()
  249.     end
  250.     if (intid == 302) then
  251.     player:Teleport(1, 9985.907227, 1971.155640, 1326.815674)
  252.     player:GossipComplete()
  253.     end
  254.     if (intid == 303) then
  255.     player:Teleport(530, -4072.202393, -12014.337891, -1.277277)
  256.     player:GossipComplete()
  257.     end
  258.     if (intid == 304) then
  259.     player:Teleport(1, 1371.068970, -4370.801758, 26.052483)
  260.     player:GossipComplete()
  261.     end
  262.     if (intid == 305) then
  263.     player:Teleport(0, 2050.203125, 285.650604, 56.994549)
  264.     player:GossipComplete()
  265.     end
  266.     if (intid == 306) then
  267.     player:Teleport(1, -1304.569946, 205.285004, 68.681396)
  268.     player:GossipComplete()
  269.     end
  270.     if (intid == 307) then
  271.     player:Teleport(530, 9400.486328, -7278.376953, 14.206780)
  272.     player:GossipComplete()
  273.     end
  274.     if (intid == 370) then
  275.     player:Teleport(530, -2859.522461, 3182.34773, 10.008426)
  276.     player:GossipComplete()
  277.     end
  278.     if (intid == 371) then
  279.     player:Teleport(0, -234.495087, 1561.946411, 76.892143)
  280.     player:GossipComplete()
  281.     end
  282.     if (intid == 372) then
  283.     player:Teleport(0, 2870.442627, -819.985229, 160.331085)
  284.     player:GossipComplete()
  285.     end
  286.     if (intid == 373) then
  287.     player:Teleport(1, -6797.278809, -2903.917969, 9.953360)
  288.     player:GossipComplete()
  289.     end
  290.     if (intid == 374) then
  291.     player:Teleport(0, -11919.073242, -1202.459374, 92.298744)
  292.     player:GossipComplete()
  293.     end
  294.     if (intid == 375) then
  295.     player:Teleport(1, -8394.730469, 1485.658447, 21.038563)
  296.     player:GossipComplete()
  297.     end
  298.     if (intid == 376) then
  299.     player:Teleport(1, -8247.316406, 1970.156860, 129.071472)
  300.     player:GossipComplete()
  301.     end
  302.     if (intid == 377) then
  303.     player:Teleport(409, 1089.6, -470.19, -106.41)
  304.     player:GossipComplete()
  305.     end
  306.     if (intid == 378) then
  307.     player:Teleport(249, 30.0, -64.0, -5.0)
  308.     player:GossipComplete()
  309.     end
  310.     if (intid == 379) then
  311.     player:Teleport(533, 3006.06, -3436.72, 293.891)
  312.     player:GossipComplete()
  313.     end
  314.     if (intid == 380) then
  315.     player:Teleport(0, 1267.468628, -2556.651367, 94.127983)
  316.     player:GossipComplete()
  317.     end
  318.     if (intid == 381) then
  319.     player:Teleport(0, 3359.111572, -3380.8444238, 144.781860)
  320.     player:GossipComplete()
  321.     end
  322.     if (intid == 382) then
  323.     player:Teleport(0, -7527.129883, -1224.997437, 285.733002)
  324.     player:GossipComplete()
  325.     end
  326.     if (intid == 383) then
  327.     player:Teleport(532, -11087.3, -1977.47, 49.6135)
  328.     player:GossipComplete()
  329.     end
  330.     if (intid == 384) then
  331.     player:Teleport(1, -8519.718750, -4297.542480, -208.441376)
  332.     player:GossipComplete()
  333.     end
  334.     if (intid == 386) then
  335.     player:Teleport(530, -360.670990, 3071.899902, -15.097700)
  336.     player:GossipComplete()
  337.     end
  338.     if (intid == 387) then
  339.     player:Teleport(530, -303.506012, 3164.820068, 31.742500)
  340.     player:GossipComplete()
  341.     end
  342.     if (intid == 388) then
  343.     player:Teleport(530, -311.083527, 3083.291748, -3.745923)
  344.     player:GossipComplete()
  345.     end
  346.     if (intid == 389) then
  347.     player:Teleport(530, 777.088989, 6763.450195, -72.062561)
  348.     player:GossipComplete()
  349.     end
  350.     if (intid == 390) then
  351.     player:Teleport(530, 719.507996, 6999.339844, -73.074303)
  352.     player:GossipComplete()
  353.     end
  354.     if (intid == 391) then
  355.     player:Teleport(530, 816.590027, 6934.669922, -80.544601)
  356.     player:GossipComplete()
  357.     end
  358.     if (intid == 392) then
  359.     player:Teleport(530, -3079.810059, 4943.040039, -101.046997)
  360.     player:GossipComplete()
  361.     end
  362.     if (intid == 393) then
  363.     player:Teleport(530, -3361.959961, 5225.770020, -101.047997)
  364.     player:GossipComplete()
  365.     end
  366.     if (intid == 394) then
  367.     player:Teleport(530, -3362.219971, 4660.410156, -101.049004)
  368.     player:GossipComplete()
  369.     end
  370.     if (intid == 395) then
  371.     player:Teleport(530, -3645.060059, 4943.620117, -101.047997)
  372.     player:GossipComplete()
  373.     end
  374.     if (intid == 396) then
  375.     player:Teleport(530, 2862.409912, 1546.089966, 252.158691)
  376.     player:GossipComplete()
  377.     end
  378.     if (intid == 397) then
  379.     player:Teleport(530, 3413.649902, 1483.319946, 182.837997)
  380.     player:GossipComplete()
  381.     end
  382.     if (intid == 398) then
  383.     player:Teleport(530, 3311.598145, 1332.745117, 505.557251)
  384.     player:GossipComplete()
  385.     end
  386.     if (intid == 399) then
  387.     player:Teleport(530, -313.678986, 3088.350098, -116.501999)
  388.     player:GossipComplete()
  389.     end
  390.     if (intid == 400) then
  391.     player:Teleport(530, 830.542908, 6865.445801, -63.785503)
  392.     player:GossipComplete()
  393.     end
  394.     if (intid == 401) then
  395.     player:Teleport(530, 3549.424072, 5179.854004, -4.430779)
  396.     player:GossipComplete()
  397.     end
  398.     if (intid == 402) then
  399.     player:Teleport(530, 3087.310059, 1373.790039, 184.643005)
  400.     player:GossipComplete()
  401.     end
  402.     if (intid == 403) then
  403.     player:Teleport(564, 97.0894, 1001.96, -86.8798)
  404.     player:GossipComplete()
  405.     end
  406.     if(intid == 404) then
  407.     player:Teleport(580, 1791.17, 926.31, 15.1135)
  408.     player:GossipComplete()
  409.     end
  410.     if (intid == 410) then
  411.     player:Teleport(0, -13243.240234, 197.949799, 32.112690)
  412.     player:GossipComplete()
  413.     end
  414.     if (intid == 450) then
  415.     player:Teleport(1, 3384.912845, -4869.666992, 118.861450)
  416.     player:GossipComplete()
  417.     end
  418.     if (intid == 451) then
  419.     player:Teleport(169, -2895.678955, -1947.090576, 143.774170, 4.344824)
  420.     player:GossipComplete()
  421.     end
  422.     if (intid == 452) then
  423.     player:Teleport(169, 2681.212158, -1791.517822, 136.122055, 5.048849)
  424.     player:GossipComplete()
  425.     end
  426.     if (intid == 453) then
  427.     player:Teleport(169, -4095.368164, -907.111572, 135.802750, 1.634414)
  428.     player:GossipComplete()
  429.     end
  430.     if (intid == 454) then
  431.     player:Teleport(0, -6999.254117, -4529.842285, 142.177887, 1.158956)
  432.     player:GossipComplete()
  433.     end
  434.     if (intid == 455) then
  435.     player:Teleport(0, -8344.511719, -4296.697754, 150.965073, 0.117633)
  436.     player:GossipComplete()
  437.     end
  438.     if (intid == 456) then
  439.     player:Teleport(1, 5497.440430, -3527.029053, 1560.376221, 5.661151)
  440.     player:GossipComplete()
  441.     end
  442.  
  443.     --Chrome Depths
  444.     if(intid == 458) then
  445.     player:Teleport(1, 4847.679688, -1775.451172, 1162.016235, 5.286256)
  446.     player:GossipComplete()
  447.     end
  448.  
  449.     --Azshara Crater Horde
  450.     if(intid == 555) then
  451.     player:Teleport(37, -115.586990, 851.123352, 294.446198, 5.610085)
  452.     player:GossipComplete()
  453.     end
  454.  
  455.     --Azshara Crater Alliance
  456.     if(intid == 556) then
  457.     player:Teleport(37, 1063.870850, -14.627644, 316.555328, 2.057736)
  458.     player:GossipComplete()
  459.     end
  460.  
  461.     --Azshara Crater Brintidge(DEV)
  462.     if(intid == 557) then
  463.     player:Teleport(37, 321.595, 170.11, 234.938)
  464.     player:GossipComplete()
  465.     end
  466.  
  467.     --Stormwind Vault
  468.     if(intid == 558) then
  469.     player:Teleport(0, -8635.166992, 592.351013, 95.690498, 2.675852)
  470.     player:GossipComplete()
  471.     end
  472.  
  473.     --Forbintidden City
  474.     if(intid == 559) then
  475.     player:Teleport(0, -8107.403809, -4350.572266, 131.408524, 0.316950)
  476.     player:GossipComplete()
  477.     end
  478.  
  479.     --The Lost Vale
  480.     if(intid == 560) then
  481.     player:Teleport(451, 16554.728516, 16727.865234, 21.341925, 0.4986)
  482.     player:GossipComplete()
  483.     end
  484.  
  485.  
  486.  
  487.     if(intid == 650) then
  488.     player:Teleport(571, 2981.362305, 291.108032, 84.906631)
  489.     player:GossipComplete()
  490.     end
  491.     if(intid == 651) then
  492.     player:Teleport(571, 452.491608, -4010.313965, 268.903809)
  493.     player:GossipComplete()
  494.     end
  495.     if(intid == 652) then
  496.     player:Teleport(571, 3730.314453, -3859.454346, 183.489944)
  497.     player:GossipComplete()
  498.     end
  499.     if(intid == 653) then
  500.     player:Teleport(571, 6591.855469, 2451.750732, 467.928711)
  501.     player:GossipComplete()
  502.     end
  503.     if(intid == 654) then
  504.     player:Teleport(571, 7266.094238, -1338.805542, 911.679749)
  505.     player:GossipComplete()
  506.     end
  507.     if(intid == 655) then
  508.     player:Teleport(571, 5444.818848, -1746.449585, 248.347855)
  509.     player:GossipComplete()
  510.     end
  511.     if(intid == 656) then
  512.     player:Teleport(571, 4872.304688, 5535.682617, -62.462074)
  513.     player:GossipComplete()
  514.     end
  515.     if(intid == 657) then
  516.     player:Teleport(571, 4502.164551, 5560.019531, 51.479229)
  517.     player:GossipComplete()
  518.     end
  519.     if(intid == 658) then
  520.     player:Teleport(571, 4608.474121, 2847.145020, 396.896790)
  521.     player:GossipComplete()
  522.     end
  523.     if(intid == 659) then
  524.     player:Teleport(571, 5331.596191, 142.360580, 168.219833)
  525.     player:GossipComplete()
  526.     end
  527.     if(intid == 779) then
  528.     player:Teleport(571, 1215.37, -4866.46, 47.8483)
  529.     player:GossipComplete()
  530.     end
  531.  
  532.     if(intid == 780) then
  533.     player:Teleport(571, 4775.11, -2035.08, 229.387)
  534.     player:GossipComplete()
  535.     end
  536.  
  537.     if(intid == 781) then
  538.     player:Teleport(571, 9174.49, -1377.79, 1102.41)
  539.     player:GossipComplete()
  540.     end
  541.  
  542.     if(intid == 782) then
  543.     player:Teleport(571, 8923.74, -986.607, 1039.35)
  544.     player:GossipComplete()
  545.     end
  546.  
  547.     if(intid == 783) then
  548.     player:Teleport(533, 3128.580078, -3369.780029, 294.567993, 1919860)
  549.     player:GossipComplete()
  550.     end
  551.  
  552.     if(intid == 784) then
  553.     player:Teleport(571, 3879.34, 6979.7, 152.042)
  554.     player:GossipComplete()
  555.     end
  556.  
  557.     if(intid == 785) then
  558.     player:Teleport(571, 3881.67, 6984.54, 73.7606)
  559.     player:GossipComplete()
  560.     end
  561.  
  562.     if(intid == 786) then
  563.     player:Teleport(571, 3879.99, 6984.38, 106.321)
  564.     player:GossipComplete()
  565.     end
  566.  
  567.     if(intid == 787) then
  568.     player:Teleport(571, 3717.18, 2154.97, 36.4342)
  569.     player:GossipComplete()
  570.     end
  571.  
  572.     if(intid == 788) then
  573.     player:Teleport(571, 3717.18, 2154.97, 36.4342)
  574.     player:GossipComplete()
  575.     end
  576.  
  577.     if(intid == 789) then
  578.     player:Teleport(571, 3472.164063, 265.175323, -120.144157, 1.652377)
  579.     player:GossipComplete()
  580.     end
  581.  
  582.     if(intid == 790) then
  583.     player:Teleport(603, -871.416138, -149.115753, 458.855225, 6.280000)
  584.     player:GossipComplete()
  585.     end
  586.  
  587.     if(intid == 791) then
  588.     player:Teleport(571, 8515.615234, 725.861389, 558.247925, 1.634937)
  589.     player:GossipComplete()
  590.     end
  591.  
  592.     if(intid == 792) then
  593.     player:Teleport(631, -17.152342, 2211.443604, 30.115793, 3.09)
  594.     player:GossipComplete()
  595.     end
  596.  
  597.     if(intid == 793) then
  598.     player:Teleport(571, 3590.929932, 211.103897, -120.055077, 1.652377)
  599.     player:GossipComplete()
  600.     end
  601.  
  602.     if(intid == 795) then
  603.     player:Teleport(571, 8588.625000, 791.995789, 558.234863, 6.215641)
  604.     player:GossipComplete()
  605.     end
  606.  
  607.     --Main Menu Back Button
  608.     --if(intid == 1000) then
  609.     --player:OnGossipTalk(pUnit, event, player, pMisc)
  610.     --end
  611. end
  612.  
  613. RegisterUnitGossipEvent(101010, 1, Teleporter_OnGossipTalk)
  614. RegisterUnitGossipEvent(101010, 2, Teleporter_OnGossipSelect)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement