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

[Movement?] Please help i'll REP

Zackvor

Member
Joined
Jan 19, 2009
Messages
294
Reaction score
12
Possible to do so its not possible to go over stacked parcels on 8.54? tfs? - Like it was at 7.4. You couldnt walk over stacked things if you didnt have a parcel beneath you.
Please help
 
Last edited:
Open data/movements/movements.xml with notepad and add:
Code:
<movevent type="StepIn" itemid="2595" event="script" value="parcel-Zackvor.lua"/>


Add a new file data/movements/scripts/parcel-Zackvor.lua

parcel-Zackvor.lua
Code:
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
	if(not isPlayer(cid)) then
		return true
	end
	
	if(fromPosition.x == 0) then -- player just logged in
		fromPosition = getTownTemplePosition(getPlayerTown(cid))
		doSendMagicEffect(fromPosition, CONST_ME_TELEPORT)
	end

	doTeleportThing(cid, fromPosition, true)
	return true
end
 
Back
Top