actionId = --- w/e action ID you want to use.
pos = {x = , y = , z =} -- Position of where they get teleported.
-- Set the action ID of the tile they walk on in map editor.
function onStepIn(cid, item, position, fromPosition)
if item.actionid == actionId then
doTeleportThing(cid, pos)
end
end
Bleh typos too strong. Fixed.@Black Reaper if you looked at the first script when you walk you will find
if item.actionid == pos then
Should Be
if item.actionid == actionId
<movevent event="StepIn" actionid="EDIT_THIS" script="AND_THIS.lua"/>