ID:1895600
 
I don't know how to begin going about this. Any advice or direction someone could point me in?
There's an existing library by forum_account to accomplish just that. I don't know how efficient it is, or if it still works in the current version of BYOND.
http://www.byond.com/developer/Forum_account/FogofWar
Alright. This implements it... pretty much as I need. Next question is:

How would one fix this? With the opaque turfs.

In response to Fallen Seraphim
Fallen Seraphim wrote:
Alright. This implements it... pretty much as I need. Next question is:

How would one fix this? With the opaque turfs.

Fix what?
Notice the wall turfs at the top. Only half of it is affected by the fog. I'm currently reading through the library to see if I can find anything to help with that, but so far am having little luck.