ID:266310
 
I tried to make it so that when you click on the bum, he stops walking. Then, when the person is done talking to him or whatever, he goes back to walkin' around like the bum that he is;

obj/Bum
Click()
walkspeed = 999 //Heres where I try to make him stop walking
switch(input("Did I stop walking?","Bum")in list("Yes","No"))
if("Yes")
usr << "Cool"
walkspeed = 30
if("No")
usr << "HAHAHA....loser"
icon = 'Bum.dmi'
density = 1
var
walkspeed = 30
New()
wander()
proc
wander()
walk_rand(src,walkspeed)

I dont know how many more times I can be called a loser before I snap. Could somone help me out please :)?
To make something stop from automatic movement, you can put

walk(src,0)


You can put that in place of the
walkspeed = 999
line, and call the wander proc again somewhere in that proc to make him move again.