the mob/slime bumps into the mob
the mob/slime goes back to the start but that is not right the mob should go back to the start
can some one help please
thanks
--------------------------------------------
it ok i fixed all on my own
but thanks anyway
ID:267654
Aug 10 2003, 10:29 am (Edited on Aug 10 2003, 10:37 am)
|
|
In response to Rifthaven
|
|
You need if(istype(M)) before the if(M.client), or you'll get errors if they bump into objs or turfs.
|
In response to Garthor
|
|
Yeah that would make sense, I generaly use if(istype(M,/mob/usr)) but didnt think to use if(istype(M)). Ill have to remember that for future game making.
|
mob/slime
//all the other stuff
Bump(mob/M)
if(M.client)//cant use istype not sure what you player paths are
M.loc = locate(1,1,1)//this move M, not sure what you meant by start but this will move M to a location
If that isnt what you mean, try being more specific or post your code.
<font color = red>Rifthaven