Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function On_Gossip(unit, event, player)
- unit:GossipCreateMenu(3000, player, 0)
- unit:GossipMenuAddItem(9, "German-Wow Orte", 1, 0)
- unit:GossipMenuAddItem(2, "Oestliche Koenigreiche Bereiche", 2, 0)
- unit:GossipMenuAddItem(2, "Kalimdor Bereiche", 3, 0)
- unit:GossipMenuAddItem(3, "Scherbenwelt Bereiche", 4, 0)
- unit:GossipMenuAddItem(3, "Nordend bereiche", 5, 0)
- unit:GossipMenuAddItem(3, "Neutrale Stadte", 6, 0)
- unit:GossipMenuAddItem(3, "Hauptstaedte der Allianze", 7, 0)
- unit:GossipMenuAddItem(6, "Zu der Berufskill Arena", 8, 0)
- unit:GossipSendMenu(player)
- end
- function Gossip_Submenus(unit, event, player, id, intid, code)
- if(intid == 999) then
- unit:GossipCreateMenu(3000, player, 0)
- unit:GossipMenuAddItem(9, "German-Wow Orte", 1, 0)
- unit:GossipMenuAddItem(2, "Oestliche Koenigreiche Bereiche", 2, 0)
- unit:GossipMenuAddItem(2, "Kalimdor Bereiche", 3, 0)
- unit:GossipMenuAddItem(3, "Scherbenwelt Bereiche", 4, 0)
- unit:GossipMenuAddItem(3, "Nordend bereiche", 5, 0)
- unit:GossipMenuAddItem(3, "Neutrale Stadte", 6, 0)
- unit:GossipMenuAddItem(3, "Hauptstaedte der Allianze", 7, 0)
- unit:GossipMenuAddItem(6, "Zu der Berufskill Arena", 8, 0)
- unit:GossipSendMenu(player)
- end
- if(intid == 1) then
- unit:GossipCreateMenu(3000, player, 0)
- unit:GossipMenuAddItem(2, "Zum Playertreff", 300, 0)
- unit:GossipMenuAddItem(2, "Zum JumpEvent", 301, 0)
- unit:GossipMenuAddItem(2, "Zum Labbyrinth", 302, 0)
- unit:GossipMenuAddItem(2, "Zum Support Haus", 303, 0)
- unit:GossipMenuAddItem(2, "Höle des Feuers", 311, 0)
- unit:GossipMenuAddItem(0, "Back", 4, 0)
- unit:GossipSendMenu(player)
- end
- if(intid == 2) then
- unit:GossipCreateMenu(3000, player, 0)
- unit:GossipMenuAddItem(2, "Alterac Mountains", 400, 0)
- unit:GossipMenuAddItem(2, "Badlands", 401, 0)
- unit:GossipMenuAddItem(2, "Blasted Lands", 402, 0)
- unit:GossipMenuAddItem(2, "Burning Steppes", 403, 0)
- unit:GossipMenuAddItem(2, "Deadwind Pass", 404, 0)
- unit:GossipMenuAddItem(2, "Dun Morogh", 405, 0)
- unit:GossipMenuAddItem(2, "Duskwood", 406, 0)
- unit:GossipMenuAddItem(2, "Eastern Plaguelands", 407, 0)
- unit:GossipMenuAddItem(2, "Elwynn Forest", 408, 0)
- unit:GossipMenuAddItem(2, "Eversong Woods", 409, 0)
- unit:GossipMenuAddItem(2, "Ghostlands", 410, 0)
- unit:GossipMenuAddItem(0, "Next Page", 411, 0)
- unit:GossipMenuAddItem(0, "Back", 4, 0)
- unit:GossipMenuAddItem(0, "Main Menu", 999, 0)
- unit:GossipSendMenu(player)
- end
- if(intid == 411) then
- unit:GossipCreateMenu(3000, player, 0)
- unit:GossipMenuAddItem(2, "Hillsbrad Foothills", 412, 0)
- unit:GossipMenuAddItem(2, "Loch Modan", 413, 0)
- unit:GossipMenuAddItem(2, "Redridge Mountains", 414, 0)
- unit:GossipMenuAddItem(2, "Searing Gorge", 415, 0)
- unit:GossipMenuAddItem(2, "Silverpine Forest", 416, 0)
- unit:GossipMenuAddItem(2, "Strangethorn Vale", 417, 0)
- unit:GossipMenuAddItem(2, "Swamp Of Sorrows", 418, 0)
- unit:GossipMenuAddItem(2, "The Hinterlands", 419, 0)
- unit:GossipMenuAddItem(2, "Trisfal Glades", 420, 0)
- unit:GossipMenuAddItem(2, "Westfall", 421, 0)
- unit:GossipMenuAddItem(2, "Western Plaguelands", 422, 0)
- unit:GossipMenuAddItem(2, "Wetlands", 423, 0)
- unit:GossipMenuAddItem(0, "Back", 500, 0)
- unit:GossipMenuAddItem(0, "Main Menu", 999, 0)
- unit:GossipSendMenu(player)
- end
- if(intid == 3) then
- unit:GossipCreateMenu(3000, player, 0)
- unit:GossipMenuAddItem(2, "Ashenvale", 430, 0)
- unit:GossipMenuAddItem(2, "Azuremyst Isle", 431, 0)
- unit:GossipMenuAddItem(2, "Bloodmyst Isle", 432, 0)
- unit:GossipMenuAddItem(2, "Darkshore", 433, 0)
- unit:GossipMenuAddItem(2, "Desolace", 434, 0)
- unit:GossipMenuAddItem(2, "Durotar", 435, 0)
- unit:GossipMenuAddItem(2, "Dustwallow Marsh", 436, 0)
- unit:GossipMenuAddItem(2, "Felwood", 437, 0)
- unit:GossipMenuAddItem(2, "Moonglade", 438, 0)
- unit:GossipMenuAddItem(2, "Mulgore", 439, 0)
- unit:GossipMenuAddItem(2, "Silithus", 440, 0)
- unit:GossipMenuAddItem(0, "Next Page", 441, 0)
- unit:GossipMenuAddItem(0, "Back", 4, 0)
- unit:GossipMenuAddItem(0, "Main Menu", 999, 0)
- unit:GossipSendMenu(player)
- end
- if(intid == 441) then
- unit:GossipCreateMenu(3000, player, 0)
- unit:GossipMenuAddItem(2, "Tanaris", 442, 0)
- unit:GossipMenuAddItem(2, "Teldrassil", 443, 0)
- unit:GossipMenuAddItem(2, "The Barrens", 444, 0)
- unit:GossipMenuAddItem(2, "Thousand Needles", 445, 0)
- unit:GossipMenuAddItem(2, "Un'Goro Crater", 446, 0)
- unit:GossipMenuAddItem(2, "Winterspring", 447, 0)
- unit:GossipMenuAddItem(2, "Azshara", 448, 0)
- unit:GossipMenuAddItem(0, "Back", 501, 0)
- unit:GossipMenuAddItem(0, "Main Menu", 999, 0)
- unit:GossipSendMenu(player)
- end
- if(intid == 4) then
- unit:GossipCreateMenu(3000, player, 0)
- unit:GossipMenuAddItem(2, "Hellfire Peninsula", 478, 0)
- unit:GossipMenuAddItem(2, "Zangarmarsh", 479, 0)
- unit:GossipMenuAddItem(2, "Nagarad", 480, 0)
- unit:GossipMenuAddItem(2, "Blades Edge Mountains", 481, 0)
- unit:GossipMenuAddItem(2, "Netherstorm", 482, 0)
- unit:GossipMenuAddItem(2, "Terokkar Forest", 483, 0)
- unit:GossipMenuAddItem(2, "Shadowmoon Valley", 484, 0)
- unit:GossipMenuAddItem(0, "Back", 5, 0)
- unit:GossipMenuAddItem(0, "Main Menu", 999, 0)
- unit:GossipSendMenu(player)
- end
- if(intid == 5) then
- unit:GossipCreateMenu(3000, player, 0)
- unit:GossipMenuAddItem(2, "Borean Tundra", 485, 0)
- unit:GossipMenuAddItem(2, "Crystalsong Forest", 486, 0)
- unit:GossipMenuAddItem(2, "Dragonblight", 487, 0)
- unit:GossipMenuAddItem(2, "Grizzly Hills", 488, 0)
- unit:GossipMenuAddItem(2, "Howling Fjord", 489, 0)
- unit:GossipMenuAddItem(2, "Icecrown", 490, 0)
- unit:GossipMenuAddItem(2, "Sholazar Basin", 491, 0)
- unit:GossipMenuAddItem(2, "The Storm Peaks", 492, 0)
- unit:GossipMenuAddItem(2, "Zul'Drak", 493, 0)
- unit:GossipMenuAddItem(0, "Back", 6, 0)
- unit:GossipMenuAddItem(0, "Main Menu", 999, 0)
- unit:GossipSendMenu(player)
- end
- if(intid == 6) then
- unit:GossipCreateMenu(3000, player, 0)
- unit:GossipMenuAddItem(2, "Dalaran", 304, 0)
- unit:GossipMenuAddItem(2, "Shattrath", 305, 0)
- unit:GossipMenuAddItem(0, "[Back]", 999, 0)
- unit:GossipSendMenu(player)
- end
- if(intid == 7) then
- unit:GossipCreateMenu(3000, player, 0)
- unit:GossipMenuAddItem(2, "Stormwind", 306, 0)
- unit:GossipMenuAddItem(2, "Ironforge", 307, 0)
- unit:GossipMenuAddItem(2, "Darnassus", 308, 0)
- unit:GossipMenuAddItem(2, "Exodar", 309, 0)
- unit:GossipMenuAddItem(0, "[Back]", 999, 0)
- unit:GossipSendMenu(player)
- end
- if(intid == 8) then
- unit:GossipCreateMenu(3000, player, 0)
- unit:GossipMenuAddItem(2, "Zu der Berufskill Arena", 310, 0)
- unit:GossipSendMenu(player)
- end
- if(intid == 300) then
- player:Teleport(0, 2916.822266, -1440.240112, 150.615204)
- unit:GossipComplete(player)
- end
- if(intid == 301) then
- player:Teleport(0, -11283.765625, 1870.470093, 47.035526)
- unit:GossipComplete(player)
- end
- if(intid == 302) then
- player:Teleport(0, -7997.721191, 199.011093, 59.457066)
- unit:GossipComplete(player)
- end
- if(intid == 303) then
- player:Teleport(1, 7328.374023, -1530.528198, 159.531967)
- unit:GossipComplete(player)
- end
- if(intid == 304) then
- player:Teleport(571, 5795.602539, 769.040710, 661.310425)
- unit:GossipComplete(player)
- end
- if(intid == 305) then
- player:Teleport(530, 1868.697510, 5439.860840, -10.463367)
- unit:GossipComplete(player)
- end
- if(intid == 306) then
- player:Teleport(0, -8838.437500, 615.112488, 92.934814)
- unit:GossipComplete(player)
- end
- if(intid == 307) then
- player:Teleport(0, -4945.828613, -954.727478, 501.632202)
- unit:GossipComplete(player)
- end
- if(intid == 308) then
- player:Teleport(1, 9951.946289, 2280.609863, 1341.394775)
- unit:GossipComplete(player)
- end
- if(intid == 309) then
- player:Teleport(530, -3866.120605, -11641.577148, -137.653519)
- unit:GossipComplete(player)
- end
- if(intid == 311) then
- player:Teleport(230, 1127.989014, -452.042175, -101.385010)
- unit:GossipComplete(player)
- end
- if(intid == 310) then
- player:Teleport(1, -11836.854492, -4754.102051, 6.230094)
- unit:GossipComplete(player)
- end
- if(intid == 400) then
- player:Teleport(0, 263.982361, -673.894104, 127.404716)
- unit:GossipComplete(player)
- end
- if(intid == 401) then
- player:Teleport(0, -6047.203125, -3313.854980, 258.708557)
- unit:GossipComplete(player)
- end
- if(intid == 402) then
- player:Teleport(0, -10906.685547, -2927.268066, 12.964416)
- unit:GossipComplete(player)
- end
- if(intid == 403) then
- player:Teleport(0, -7889.491699, -1135.223267, 2.924039)
- unit:GossipComplete(player)
- end
- if(intid == 404) then
- player:Teleport(0, -10448.166016, -1856.763916, 105.005913)
- unit:GossipComplete(player)
- end
- if(intid == 405) then
- player:Teleport(0, -5433.301270, -224.541077, 407.520925)
- unit:GossipComplete(player)
- end
- if(intid == 406) then
- player:Teleport(0, -11279.900391, -361.012268, 62.467072)
- unit:GossipComplete(player)
- end
- if(intid == 407) then
- player:Teleport(0, 1964.197754, -4337.873047, 74.472122)
- unit:GossipComplete(player)
- end
- if(intid == 408) then
- player:Teleport(0, -9548.906250, -52.026482, 56.932626)
- unit:GossipComplete(player)
- end
- if(intid == 409) then
- player:Teleport(530, 9445.799805, -6780.160645, 16.617193)
- unit:GossipComplete(player)
- end
- if(intid == 410) then
- player:Teleport(530, 7560.582520, -6810.677246, 87.206497)
- unit:GossipComplete(player)
- end
- if(intid == 412) then
- player:Teleport(0, -843.708008, -545.247009, 11.397400)
- unit:GossipComplete(player)
- end
- if(intid == 412) then
- player:Teleport(0, -843.708008, -545.247009, 11.397400)
- unit:GossipComplete(player)
- end
- if(intid == 414) then
- player:Teleport(0, -9249.617188, -2148.591553, 63.933914)
- unit:GossipComplete(player)
- end
- if(intid == 415) then
- player:Teleport(0, -7355.223633, -1098.422485, 277.840637)
- unit:GossipComplete(player)
- end
- if(intid == 416) then
- player:Teleport(0, 513.679016, 1625.099976, 125.510002)
- unit:GossipComplete(player)
- end
- if(intid == 417) then
- player:Teleport(0, -11612.054688, -58.522003, 105.949398)
- unit:GossipComplete(player)
- end
- if(intid == 418) then
- player:Teleport(0, -10460.044922, -3261.839600, 20.178509)
- unit:GossipComplete(player)
- end
- if(intid == 419) then
- player:Teleport(0, 146.856552, -2003.116577, 126.594170)
- unit:GossipComplete(player)
- end
- if(intid == 420) then
- player:Teleport(0, 2034.480835, 292.189941, 54.163761)
- unit:GossipComplete(player)
- end
- if(intid == 421) then
- player:Teleport(0, -10518.205078, 1069.469116, 54.769070)
- unit:GossipComplete(player)
- end
- if(intid == 422) then
- player:Teleport(0, 1265.575073, -1194.470703, 59.570076)
- unit:GossipComplete(player)
- end
- if(intid == 423) then
- player:Teleport(0, -4086.566650, -2614.740479, 44.690865)
- unit:GossipComplete(player)
- end
- if(intid == 430) then
- player:Teleport(1, 3189.298584, 226.574127, 14.819330)
- unit:GossipComplete(player)
- end
- if(intid == 431) then
- player:Teleport(530, -4194.541992, -12555.260742, 39.841660)
- unit:GossipComplete(player)
- end
- if(intid == 432) then
- player:Teleport(530, -2738.501797, -12210.000977, 8.803289)
- unit:GossipComplete(player)
- end
- if(intid == 433) then
- player:Teleport(1, 6207.632813, -154.939209, 80.792686)
- unit:GossipComplete(player)
- end
- if(intid == 434) then
- player:Teleport(1, -82.607262, 1676.598145, 89.806580)
- unit:GossipComplete(player)
- end
- if(intid == 435) then
- player:Teleport(1, 340.362000, -4686.290039, 16.641100)
- unit:GossipComplete(player)
- end
- if(intid == 436) then
- player:Teleport(1, -3460.119629, -4127.141602, 17.098972)
- unit:GossipComplete(player)
- end
- if(intid == 437) then
- player:Teleport(1, 5486.022949, -764.407228, 338.605072)
- unit:GossipComplete(player)
- end
- if(intid == 438) then
- player:Teleport(1, 8013.640625, -2676.404785, 514.589722)
- unit:GossipComplete(player)
- end
- if(intid == 439) then
- player:Teleport(1, -1840.750000, -456.561005, -8.845256)
- unit:GossipComplete(player)
- end
- if(intid == 440) then
- player:Teleport(1, -6925.356934, 915.713562, 22.929478)
- unit:GossipComplete(player)
- end
- if(intid == 442) then
- player:Teleport(1, -7160.649902, 3841.387207, 8.671937)
- unit:GossipComplete(player)
- end
- if(intid == 443) then
- player:Teleport(1, 9860.146484, 589.684326, 1300.625366)
- unit:GossipComplete(player)
- end
- if(intid == 444) then
- player:Teleport(1, -1026.215698, -3672.566650, 22.966539)
- unit:GossipComplete(player)
- end
- if(intid == 445) then
- player:Teleport(1, -4687.388184, -1836.957397, -44.047394)
- unit:GossipComplete(player)
- end
- if(intid == 446) then
- player:Teleport(1, -6154.613281, -1090.232422, -203.079956)
- unit:GossipComplete(player)
- end
- if(intid == 447) then
- player:Teleport(1, 6695.457031, -4669.457031, 721.567566)
- unit:GossipComplete(player)
- end
- if(intid == 448) then
- player:Teleport(1, 2741.128418, -4411.292969, 103.803925)
- unit:GossipComplete(player)
- end
- if(intid == 478) then
- player:Teleport(530, -248.000000, 956.000000, 84.362801)
- unit:GossipComplete(player)
- end
- if(intid == 479) then
- player:Teleport(530, -1040.743164, 5380.502930, 22.108717)
- unit:GossipComplete(player)
- end
- if(intid == 480) then
- player:Teleport(530, -481.318756, 8420.708984, 31.585732)
- unit:GossipComplete(player)
- end
- if(intid == 481) then
- player:Teleport(530, 1714.867432, 6047.045898, 143.767380)
- unit:GossipComplete(player)
- end
- if(intid == 482) then
- player:Teleport(530, 3382.884277, 4140.254395, 148.334152)
- unit:GossipComplete(player)
- end
- if(intid == 483) then
- player:Teleport(530, -1942.855713, 4684.942871, -2.187463)
- unit:GossipComplete(player)
- end
- if(intid == 484) then
- player:Teleport(530, -2975.471436, 2959.093750, 72.738640)
- unit:GossipComplete(player)
- end
- if(intid == 485) then
- player:Teleport(571, 2102.045166, 6529.468262, 0.573996)
- unit:GossipComplete(player)
- end
- if(intid == 486) then
- player:Teleport(571, 5711.308105, 1011.812256, 174.479507)
- unit:GossipComplete(player)
- end
- if(intid == 487) then
- player:Teleport(571, 3509.596926, 2841.850830, 36.646351)
- unit:GossipComplete(player)
- end
- if(intid == 488) then
- player:Teleport(571, 3349.896729, -5593.875000, 259.144592)
- unit:GossipComplete(player)
- end
- if(intid == 489) then
- player:Teleport(571, 2027.013550, -4510.509277, 207.624573)
- unit:GossipComplete(player)
- end
- if(intid == 490) then
- player:Teleport(571, 6711.064063, 2473.802979, 429.895142)
- unit:GossipComplete(player)
- end
- if(intid == 491) then
- player:Teleport(571, 5573.436523, 5749.734375, -74.824722)
- unit:GossipComplete(player)
- end
- if(intid == 492) then
- player:Teleport(571, 6109.867676, -1059.728882, 403.013428)
- unit:GossipComplete(player)
- end
- if(intid == 493) then
- player:Teleport(571, 5452.265137, -2608.871094, 306.910156)
- unit:GossipComplete(player)
- end
- end
- RegisterUnitGossipEvent(90000, 1, "On_Gossip")
- RegisterUnitGossipEvent(90000, 2, "Gossip_Submenus")
Advertisement
Add Comment
Please, Sign In to add comment