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

Lua movements help please

Dexftw

Total Boss
Joined
Jan 30, 2011
Messages
317
Reaction score
8
I need help with movements, im really bad at them.. tfs 0.2.10 When I step on the water tile 4823 = id I want it to teleport me straight down, could anyone help me with it?
 
movements.xml
Code:
	<movevent event="StepIn" itemid="4823" script="water.lua"/>
water.lua
Code:
function onStepIn(cid, item, pos, fromPos)
	pos.z = pos.z + 1
	doTeleportThing(cid, pos)
end
 
Back
Top