• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

MoveEvent Nails

tetra20

DD
Joined
Jan 17, 2009
Messages
1,315
Solutions
4
Reaction score
323
Location
Egypt
First i want to say that this is my first script :) i am a noob scripter

It might be useful
*when you move on a nail you get teleported to temple :)

Lua:
function onStepIn(cid, item, frompos, itemEx, topos)
	if(item.itemid == 8309) then
	doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)))
	end
	end
Lua:
<movevent type="StepIn" itemid="8309" event="script" value="nail.lua"/>]

Thanks Otland ^_^
 
Last edited:
You dont need to check itemid inside of a script if its registered to only one (in movements.xml).
 
Evul You Are pro at scripting i am still a newbie
@Ty Morlard
 
Back
Top