If I set a for in view with the view being bigger than the callers view, what happens?
Ex: src.view is 10 but I use for(var/mob/M in view(15))
Will this look for M only in 10 tiles or 15?
Thanks.
It uses the size and object center that you specify when you call it. It doesn't care about the client's view size at all except to use it as the default.
|
the src.view is seperate for the for, because it just shows how fat from the center you can see. However
client The clients view does not effect the for command in any way, and it just used to limit or expand their map screen in this case. |
Was your example just that though? Or are you actually using view() for that purpose? Just curious.