ID:156672
 
I've been wondering... is it possible to make a player see less than the default luminosity?

For example. A basic area has a luminosity of 1. Is it possible to set some variable so that player whole screen becomes dark besides himself and his location(area). I tried

src.see_in_dark = 0


but that seemed to have no effect.

I don't want to have to resort to creating multiple areas with luminosity of '0' around the player or create opacity areas which will be visible to everyone. I only want one player to have this effect.
dont know if it's what you want necessarily, but you could use the sight var.
src.sight |= (BLIND|SEE_SELF)
In response to Saucepan Man (#1)
Saucepan Man wrote:
dont know if it's what you want necessarily, but you could use the sight var.
src.sight |= (BLIND|SEE_SELF)

Thanks! never knew that variable existed.