Code:
INSERT INTO `creature_names` VALUES ('66666', 'Teleports', 'To Hidden Places', '', '0', '0', '0', '3', '0', '0', '16167', '0', '0', '0', '1', '1', '0', null);
INSERT INTO `creature_proto` VALUES ('66666', '80', '80', '35', '10000', '10000', '10000', '1', '3', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '360000', '2002', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '100', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0', '0');
Code:
function On_Gossip(unit, event, player)
unit:GossipCreateMenu(3544, player, 0)
unit:GossipMenuAddItem(2, "Hidden Places", 1, 0)
unit:GossipMenuAddItem(2, "Hidden Places 2", 3, 0)
unit:GossipMenuAddItem(2, "Best 2 Teles!!", 2, 0)
unit:GossipSendMenu(player)
end
function Gossip_Submenus(unit, event, player, id, intid, code)
if(intid == 999) then
unit:GossipCreateMenu(3543, player, 0)
unit:GossipMenuAddItem(2, "Hidden Places", 1, 0)
unit:GossipMenuAddItem(2, "Hidden Places 2", 3, 0)
unit:GossipMenuAddItem(2, "Best 2 Teles!!", 2, 0)
unit:GossipSendMenu(player)
end
if(intid == 1) then
unit:GossipCreateMenu(3543, player, 0)
unit:GossipMenuAddItem(1, "South Seas", 34, 0)
unit:GossipMenuAddItem(1, "Hidden Camp", 35, 0)
unit:GossipMenuAddItem(1, "Stonetalon Mountains", 36, 0)
unit:GossipMenuAddItem(1, "Some Stone", 37, 0)
unit:GossipMenuAddItem(1, "Unknown", 38, 0)
unit:GossipMenuAddItem(1, "Old Hillsbrad", 39, 0)
unit:GossipMenuAddItem(1, "Airport", 40, 0)
unit:GossipMenuAddItem(1, "Better Darkshore", 41, 0)
unit:GossipMenuAddItem(1, "On Top Dun Morogh", 42, 0)
unit:GossipMenuAddItem(1, "Old IF", 43, 0)
unit:GossipMenuAddItem(1, "Castle, Docks, & Flying Fish!", 44, 0)
unit:GossipMenuAddItem(1, "Mulgore", 45, 0)
unit:GossipMenuAddItem(1, "No Name!", 46, 0)
unit:GossipMenuAddItem(1, "Jail...", 47, 0)
unit:GossipMenuAddItem(0, "Back", 999, 0)
unit:GossipSendMenu(player)
end
if(intid == 3) then
unit:GossipCreateMenu(3543, player, 0)
unit:GossipMenuAddItem(1, "Alter", 16, 0)
unit:GossipMenuAddItem(1, "Wetlands Farm", 17, 0)
unit:GossipMenuAddItem(1, "Highest Spot In World", 18, 0)
unit:GossipMenuAddItem(1, "Ferals", 19, 0)
unit:GossipMenuAddItem(1, "Dire Maul", 20, 0)
unit:GossipMenuAddItem(1, "Hidden Castle (Walk Forward)", 48, 0)
unit:GossipMenuAddItem(1, "Nice Open Land", 21, 0)
unit:GossipMenuAddItem(1, "Hyjal", 22, 0)
unit:GossipMenuAddItem(1, "Water Under Water?", 23, 0)
unit:GossipMenuAddItem(0, "Back", 999, 0)
unit:GossipSendMenu(player)
end
if(intid == 2) then
unit:GossipCreateMenu(3543, player, 0)
unit:GossipMenuAddItem(1, "Cave!!", 24, 0)
unit:GossipMenuAddItem(1, "Carnival!!", 25, 0)
unit:GossipMenuAddItem(0, "Back", 999, 0)
unit:GossipSendMenu(player)
end
if(intid == 34) then
player:Teleport(1, -11812.622070, -4742.063477, 6.393911)
end
if(intid == 35) then
player:Teleport(0, -6177.947754, -761.462769, 423.045898)
end
if(intid == 36) then
player:Teleport(1, 1806.056152, 1437.497681, 167.147919)
end
if(intid == 37) then
player:Teleport(1, 2814.080322, 2248.703125, 215.486191)
end
if(intid == 38) then
player:Teleport(36, -1939.969604, 443.571930, 59.377697)
end
if(intid == 39) then
player:Teleport(560, 2635.961914, -278.525665, 149.280167)
end
if(intid == 40) then
player:Teleport(0, -4653, -1688, 504)
end
if(intid == 41) then
player:Teleport(1, 7477.748047, -1573.777710, 198.481674)
end
if(intid == 42) then
player:Teleport(0, -4795.883301, -1000.524048, 895.791626)
end
if(intid == 43) then
player:Teleport(0, -4815.312500, -971.277771, 464.708954)
end
if(intid == 44) then
player:Teleport(560, 3602.619873, 2287.018799, 59.256119)
end
if(intid == 45) then
player:Teleport(1, -2204.196289, 423.247314, 173.272491)
end
if(intid == 46) then
player:Teleport(1, -9140.728516, 1594.322510, 20.035799)
end
if(intid == 47) then
player:Teleport(29, 0, 0, 0)
end
if(intid == 48) then
player:Teleport(37, -467.925690, -120.765198, 318.980011)
end
if(intid == 16) then
player:Teleport(560, 3672.952881, -214.583542, 80.487816)
end
if(intid == 17) then
player:Teleport(0, -4008.987549, -1280.995850, 146.769638)
end
if(intid == 18) then
player:Teleport(1, 5128.426758, -3800.285156, 1970.802490)
end
if(intid == 19) then
player:Teleport(1, -2797.171387, 1023.446533, 63.361565)
end
if(intid == 20) then
player:Teleport(1, -3390.920654, 1114.148193, 137.641739)
end
if(intid == 21) then
player:Teleport(0, -5582, 887, 393)
end
if(intid == 22) then
player:Teleport(1, 4674, -3638, 966)
end
if(intid == 23) then
player:Teleport(1, -12205, 3061, -22)
end
if(intid == 24) then
player:Teleport(1, 4849, -1775, 1163)
end
if(intid == 25) then
player:Teleport(1, -6310, -3952, 58)
end
end
RegisterUnitGossipEvent(66666, 1, "On_Gossip")
RegisterUnitGossipEvent(66666, 2, "Gossip_Submenus")