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

Disable Autowalk on Tile

Joepod

Active Member
Joined
Oct 12, 2008
Messages
389
Reaction score
25
Hey, I was wondering if it's possible to disable autowalking on certain tiles..

For example if I have 5 tiles lined up in a row

  • TILE 1
  • TILE 2
  • TILE 3
  • TILE 4
  • TILE 5

If i'm stood below tile 5 and i want to go onto tile 2 and I click on tile 2, it will run through tile 5, 4 and 3, is there a way I can stop this from happening so it runs around tile 5, 4 and 3 and just goes into 2?
 
lol? i took this from data/movements/walkback.lua
Lua:
function onStepIn(cid, item, position, fromPosition)
	if item.actionid == 400 and item.itemid == 103 and isPlayer(cid) == TRUE then
		doTeleportThing(cid, fromPosition, FALSE)
	end
	return TRUE
end


Yea.. so then i wont be able to step on the tile at all
 
Back
Top