FindLumber(var/obj/O)
for(O in oview(10))
var/direction = get_dir(src,O)
src<<"[direction]"
I'm not sure what's wrong. For now I just want the mob to tell me what direction I can find the lumber.
All help is appreaciated.
ID:174542
![]() Aug 9 2003, 9:53 am
|
|
While playing around with my AI I came across this error:
FindLumber(var/obj/O) I'm not sure what's wrong. For now I just want the mob to tell me what direction I can find the lumber. All help is appreaciated. |
![]() Aug 9 2003, 9:58 am
|
|
You doon't have /obj/lumber or anything like that. THat code is looking for all objects.
|
I only have one obj in my current world, and that obj is the lumber.
I added some new objs and changed the obj to the exact Resource/Forest. Still nothing happens :/ |