I am going to make a script that restricts movement to the position of tiles, and the character cannot move again until the WalkToPoint (the tile's position) is reached. However, how would I be able to check if there is another tile in the direction that the player is trying to walk to?
Logic example:
if there is a tile located (5,0,0) from the current tile then
-- Move player to tile
elseif there is a tile located (0,0,5) from the current tile instead then
-- Move player to this tile instead
else
wait()
end

3 comments
Pokemon Mystery Dungeon or a different tile-based game? Just wondering because I've done this before.
Mystery Dungeon, actually.
Guess this is a competition, as I'm working on making mine the equivalent of Brock Bronze ;)