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

Snow Tiles footsteps?

tosse12

Panchira Project Member
Joined
Jun 10, 2007
Messages
864
Reaction score
9
Location
Sweden
Hi!
I am looking for a movement script for the snow.
I want the snowtiles change to footsteps, and after like 5-10 sec return to normal snow tile again.

If this script already exists please link it to me, because I didn't find it.
 
Code:
local TILE_SNOW = 670
local TILE_FOOTPRINT_I = 6594
local TILE_FOOTPRINT_II = 6598

function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
	if(isPlayerGhost(cid)) then
		return true
	end

	if(item.itemid == TILE_SNOW) then
		doTransformItem(item.uid, TILE_FOOTPRINT_I)
		doDecayItem(item.uid)
	elseif(item.itemid == TILE_FOOTPRINT_I) then
		doTransformItem(item.uid, TILE_FOOTPRINT_II)
		doDecayItem(item.uid)
	else
		doTransformItem(item.uid, TILE_FOOTPRINT_I)
	end

	return true
end

plxxxx
 
I have that script, but it doesn't return to the old tile again, after 10 seconds :P

And I have tried to edit it... but doesn't work...
 
okey, a new problem showed up..... Item id's: 6581,6582, 6583, 6584, 6585, 6586
They don't change back to their original item id.
How do I fix it?

I tried with:
Code:
local TILE_SNOW = {670, 6581, 6582, 6583, 6584, 6585, 6586, 6587, 6588, 6589, 6590, 6591, 6592}
and it didn't work :/
 
Back
Top