ID:147056
 
mob
Enemy
icon = 'monster.dmi'
dir = 4
density=1
health=20
Bumped(O)
if(src.at==0)
src.at=1
view()<<"[usr] attacks [src]!"
flick("slash",usr)
src.health-=1
src.Death()
sleep(20)
src.at=0
else if(src.at==1)
return
proc
Left()
var/atom/check = locate(src.x-1,src.y-1,src.z)
if(check.density==0)
sleep(6)
src.Right()
else
src.loc=locate(src.x-1,src.y,src.z)
sleep(6)
src.Left()
proc
Right()
var/atom/check = locate(src.x+1,src.y-1,src.z)
if(check.density==0)
sleep(6)
src.Left()
else
src.loc=locate(src.x+1,src.y,src.z)
sleep(6)
src.Right()
New()//Create something
Left()//Calls the proc when it is created
So... I assume it only walks left?

Why are you only making it walk along dense tiles?

Well, off the top of my head, I don't see anything wrong, are there any dense tiles near the monster?
In response to Ter13
No,but what would you have it do,just to see.
In response to CodingSkillz2
Uh, codingskillz... This is the dumbest thing I've ever seen you post.

What would I have it do? You are having your monster move only along north walls, your monster is just running back and forth at a fair rate of speed, and you DIDN'T PUT IN ANY WALLS AROUND IT?! Let me get this straight, you go through all that trouble to make something, and you don't bother to include something it depends upon? Why does that strike me as a waste of time or a bad idea? Could it be... because it is an incredible waste of time, and an extremely bad idea.

Come back when you actually have a problem.
In response to Ter13
Wait what..I meant there is walls and still the same problem... Sorrya it's 7 am here and I'm going to bed now.