• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Using a statue that teleports you script needed!!!

Big M O O K

New Member
Joined
Aug 24, 2008
Messages
35
Reaction score
0
I need a script like the poi gravestone (or mirror), when u use it, it teleports you to wherever the coords u set it to (x,y,z).
Thanks!
 
Mmm, I dont know If I'am correct but I'll try.

I think you could use a script like some I used in 7.6 OTs, that was the Teleport Scroll...

Try to find that one and change it with 8.22 commands :)!

Good Luck!
 
Presuming your using TFS.

Give the gravestone/mirror and actionID with your map editor
then add it to actions.xml

Actions.xml
PHP:
<action actionid="1200" script="mirrorTP.lua"/>

mirrorTP.lua
PHP:
local pos = {x=894, y=1177, z=8} -- Change to the position you want.

function onUse(cid, item, fromPosition, itemEx, toPosition)
	doTeleportThing(cid, pos, TRUE)
return TRUE
end
 
Back
Top