mob
var
Walking=1
mob
Aitest
icon = 'aitest.dmi'
New()
..()
Walkers()
Bumped()
mob
proc
Walkers()
while(!Walking)
walk(src,EAST)
while(Walking)
walk(src,WEST)
Bumped()
if(!Walking)
Walking=0
if(Walking)
Walking=1
How do i fix this infinite loop at runtime
I don't know if that's your problem, but it struck me as wrong.