I have defined a move_dir variable.
Here is a small example.
turf
var
move_dir
turf
north
icon = 'space.dmi'
move_dir = NORTH
I also have a proc that moves the mob.
turf
proc
Movement()
spawn(3) usr.Move(get_step(usr,move_dir))
//Here is my Roll proc
proc
Roll()
var/dice = "1d6"
var/r = roll(dice)
world << "[usr] rolls a [r]!"
Okay, I'm missing something, but what? (Besides turn based things) I can't think of any logical way to have movement. I'm stumped. Any comments or theories are welcome.
-S
Not much sleep once again, but I hope some of this babbles makes sense and gives you an idea.
EDIT: Another way I was thinking of just now would be to assign every square, area on ur map a number. So if current Square = 1 and you rolled 3, then make the game piece = Square + 3 = Square is 4. Under all the square values would be their locations (x,y,z) on the map.
LJR