Ok guys i dont know if anyone did a guide like this yet if so im very sorry i swear i thought of this guide on my own by looking at the files in my server
now lets do step one
1. ok first thing's first make a .recall port for the place u want the portal to land ok
(i dont really know i good reason for it but yeah i made the recall and it ended up working so im making u do it to u may not even need the thing but you know to be safe)
2. Next go into your SQL program and find gameobject_names and lets start making a new one
in this guide for entry lets make it 700000 or u put waht ever you want
3. the type will be 22 since its a portal and Display is 7146 you can name it what ever mines named Deadmines cuase i made it into a custom instance ok now
4. make sure you have the x,y,z points of coords for the place u want ur portal to put you
now we do the hardest part
5. function Teleporting_onUse (pUnit, Event, pMisc)
pMisc:Teleport (0, -11068.5, 1528.63, 43.2317)
end
RegisterGameObjectEvent (700000, 2, "Teleporting_onUse")
thats waht mine looks like (just without the five) ok now make yours like thisjust replace stuff like (z) with your Z coords ok
function Teleporting_onUse (pUnit, (name of portal), pMisc)
pMisc:Teleport (0, (x), (y), (z))
end
RegisterGameObjectEvent ((gameobject_entry id), 2, "Teleporting_onUse")
6. ok now restart your server spawn the portal and it should work if it didn't im sorry but this is my first guide if theres problems ill try to make a new one to tell you how to fix it