• 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!

Teleport

Lavs

New Member
Joined
Aug 23, 2013
Messages
4
Reaction score
0
Does anyone happen to know how to make item id 17868 into a teleporter? Would be much appreciated.
Thanks

~Lavs
 
Any idea?

21:55 You see a large crystal teleporter (When clicking on it in remeres it doesn't have ability to choose destination like a typical teleporter).
 
Last edited:
in movements.xml
Code:
<movevent type="StepIn" itemid="XXXX" event="script" value="newteleporter.lua"/>
change XXXX to the item id

this is the lua file
newteleporter.lua
Code:
function onStepIn(cid, item, position, fromPosition)
    doTeleportThing(cid, {x=32778, y=31172, z=14})
    doSendMagicEffect({x=32778, y=31172, z=14}, CONST_ME_TELEPORT)
end

change x=32778, y=31172, z=14 to the destination you want
 
Or you can add this entry in your item attributes on items.xml

Code:
<attribute key="moveable" value="0" />
 
Back
Top