ID:1113541
 
im making a checkers game: and my problem is that i cant think of a plan for moving the pieces,

currently im thinking of using

turf
Click()
and check if the turf is piece.x+1,piece.y+1,piece.z , then loc there if not then return...


not sure yet
Okay, first off, if you're talking about putting a piece on a certain type of tile, the correct way to do it is this:

mob/checker
Click()
usr.mob = src

turf/placable
Click()
if(get_dist(usr.isplacing,src) == 1)
step_to(usr.src)


I'm not entirely sure whether or not this works. I honestly haven't even tested it. xD

Anyway, as for my second point, this isn't the correct place. You're looking for Developer Help.
okay thnx, i will see if that method works and gonna post this on dev help