otcv8-dev icon indicating copy to clipboard operation
otcv8-dev copied to clipboard

Does not walk smooth on creating ground tiles before step

Open robpot95 opened this issue 4 years ago • 1 comments

Hi,

I have a script that create a ground tile when a player step on empty tile. But in OTCv8, the player get delayed when walking into the tile. While vanilla client is walking smooth. TFS 1.3

function onMove(player, fromPosition, toPosition)
	local tile = Tile(toPosition)
	if not tile or not tile:getGround() then
		doAreaCombatHealth(0, 0, toPosition, 0, 0, 0, CONST_ME_NONE)
        	Game.createItem(106, 1, toPosition)
	end

	return true
end

robpot95 avatar Jul 12 '21 08:07 robpot95

can be easly fixed using 3x3 area instead of 1x1

mrianura avatar Apr 27 '22 12:04 mrianura