ID:165062
 
How do you decrease a player's view without making the screen size smaller and how do you make their screen black?
The simplest way to make a screen black is to set the players loc value to null. That might not be useful to you, because it takes them off the map while it does it.
An easier way might be to set the players client.eye object to null. Then when you want to change it back you simply set the client.eye to the players mob.

There is currently no way to decrease view var without making the view port smaller. In the near future this may be possible but for now it just doesn't work that way.
In response to DarkView
You can also mess with their sight var, making them only see specific object types or nothing at all (BLIND).
In response to Kaioken
mob
verb
Blind(mob/M in world)
if(alert("[M.sight & BLIND ? "" : Un"]blind [M]?","yes","no")=="yes")
M.sight ^= BLIND
Do you mean by adding blackness? You need to mess with the client.screen.
client
proc
AddBoxToScreen()
src.screen.Add(new/obj/leftcolumn,new/obj/topcolumn,new/obj/rightcolumn,new/obj/bottomcolumn)
obj
leftcolumn
screen_loc = "1,1 to [world.view],[world.view]"
bottomcolumn
rightcolumn
topcolumn
In response to Xx Dark Wizard xX
But with that, the player can still use verbs and such on people in the blackness, unless you set some sort of new view variable and pass that through view().
In response to LastTroubadour
Like right clicking?
In response to Xx Dark Wizard xX
Well, yeah. But just in general.