mob |
Problem description:
doesnt work, why
ID:140386
Jan 26 2010, 10:24 am (Edited on Jan 26 2010, 10:36 am)
|
||
Code:
Problem description: doesnt work, why | ||
Garthor wrote:
Because locate() returns a turf, not an obj, and definitely not an /obj/main. thanks as you can see im kinda new, thanks to you it works.
| ||
Also: locate(usr.x,usr.y,usr.z) is profoundly silly and you should just be using usr.loc instead.
Oh, and you shouldn't be using usr in procs AT ALL. You should be using src instead, here.