ID:319433
 
I am doing a space game and would like to use the world var "view" to control ships' scanners, but cannot figure out how to do changes to world view distance at run time. Any ideas?
I don't think you can change world view, just use client view.
How do I do that?
NM, I got it after your help. Thank you 8)
Get a link to your client and then change its view variable.

Reference Documentation:
http://www.byond.com/docs/ref/info.html#/client/var/view

// M should be a reference to your mob.
var/client/C = M.client

// Then change view.
C.view = 10