ID:172876
 
Is there a way in byond to find if somthing is directly infront of you or somthing?
by not using for(var/www/www in view())?
Use get_step().

<code>mob/verb/ObjStep() var/obj/obj = locate() in get_step(src, src.dir) src << "You find \a [obj]!"</code>
Or possibly use for(),

mob/verb/Check()
for(var/mob/M in get_step(src,src.dir))
src<<"Found \icon[M]"