I have a strange problem with my LUA script. None of my Eastern Kingdoms teleport scripts work.
Kalimdor teleports all work, but Eastern Kingdoms teleports do nothing.
Ive tried both my scripts (NPC & Item), since i updated from ArcEmu 1008 to ArcEmu 1119 ive noticed this problem.
Im baffled, ive gone over the script and i cant see anything wrong with it.
This is just a cut from the main script:
Code:
function NPC_OnGossip_select(pUnit, event, player, id, intid, code)
if(intid == 12) then
pUnit:GossipCreateMenu(3543, player, 0) --Alliance Main City Menu
pUnit:GossipMenuAddItem(10, "Stormwind", 34, 0)
pUnit:GossipMenuAddItem(10, "Ironforge", 35, 0)
pUnit:GossipMenuAddItem(10, "Darnassus", 36, 0)
pUnit:GossipMenuAddItem(10, "The Exodar", 37, 0)
pUnit:GossipMenuAddItem(5, "(Back to Teleport Menu)", 3, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 34) then
player:Teleport(0, -8828.898438, 627.545898, 94.035286)
end
if(intid == 35) then
player:Teleport(0, -4977.095215, -888.452942, 501.621216)
end
if(intid == 36) then
player:Teleport(1, 9943.809570, 2275.350098, 1341.390015)
end
if(intid == 37) then
player:Teleport(530, -3792.557861, -11691.3, -105.241)
end
end
The Darnassus and Exodar teleports work, yet the Stormwind and Ironforge ones do not. Any solution to this would be great!
Thank you.