Well i'm working on something and i had this.
if(O in oview(1,M))
//otherstuff
But it doesn't seem that i can use the if here because its not checking for anything. Can someone tell me how to make a if that checks if something's in a oview of 1?
ID:176354
![]() Jan 22 2003, 4:14 am
|
|
Unowuero wrote:
Well i'm working on something and i had this. This should be fine, unless what you want is to look for a certain kind of object, not a specific one. In that case you'd want to use locate(): if(locate(/obj/mytype) in oview(1,M)) Lummox JR |
Assuming you have M and O properly defined, I believe this should work.