mob
mom
Bump(atom/M)
if(M == usr)
usr.score = 0
usr.cash = 0
End_Game()
else
return
ID:150147
Dec 6 2001, 3:12 pm
|
|
I have code set up so when a user performs an action, if she doesn't respond, then the mom walks to the user. The problem I'm having is when the mom Bumps the user, nothing happens.
|
Dec 6 2001, 3:18 pm
|
|
Maybe this would work better:
|
In response to Cinnom
|
|
It says "error:M.client:bad var"
|
In response to Evilkevkev
|
|
Because using atom in Bump() means anything dense, only mobs can have a client so try mob/M and not atom/M.
|
Try this man
mob |
In response to Nadrew
|
|
Ok I switched atom to mob but when "Mom" bumps into the usr, nothing happens.
|
In response to Evilkevkev
|
|
try the one i added under your main post
|
In response to SonVegitto
|
|
That didn't work either. I just decided to have the mom appear on top of you to "catch" you. It's much simpler to code and works just as well.
|