Originally Posted by
Ultra Spidey
function Orb_UC(pGameObject, Event, pMisc)
pMisc:Teleport(map, x, y, z)
end
function Orb_SM(pGameObject, Event, pMisc)
pMisc:Teleport(map, x, y, z)
end
RegisterGameObjectEvent (<ID>, 2, "Orb_UC")
RegisterGameObjectEvent (<ID>, 2, "Orb_SM")
In the pMisc:Teleport(map, x, y, z)
Change map to the mapid, and xyz to the coordinates you want to teleport to.
In the last two lines change <ID> to the gameobject IDs. First one for Undercity and second for Silvermoon.
Thats a lua file right so name it like
Silvermoon, Undercity Orb Teleport.lua
Code:
function Orb_UC(pGameObject, Event, pMisc)
pMisc:Teleport(map, x, y, z)
end
function Orb_SM(pGameObject, Event, pMisc)
pMisc:Teleport(map, x, y, z)
end
RegisterGameObjectEvent (<ID>, 2, "Orb_UC")
RegisterGameObjectEvent (<ID>, 2, "Orb_SM")
If so after that i gotta locate ... first silvermoon city ... and then the orb in it then locate the orb in undercity =)