ID:148014
 
What I need to do is get a list from a completly different MOB into an object variable. Here's the line of code...

for(var/mob/m2 as mob in m.view(1))
//m is target MOB.


Here's the error:
114:error:m.view:undefined proc


Apperently I can't use view() like that. Is there a way to get the info?

There is probably some simple simlpe answer to this, but I'm still learning.
try view(1,m)
In response to Jotdaniel
Cool, no error. I'll try to gather a few friends to test this verb. Thanks!
In response to Yota
Whenever you're using a proc that you have trouble with, in this case view(), make sure you look it up in the DM Reference to find out exactly how it works.
In response to Foomer
Or the F1 in DM.
In response to Garthor
Same thing.