Fog?BlackMask?
if GetLocalPlayer() = THE_PLAYER then
call SetTerrainFogEx( STYLE, ZSTART, ZEND, DENSITY, RED, GREEN, BLUE )
endif
do you have a map example?
Look at my example. Muck around with the values. RED, GREEN and BLUE should all be the same, probably about 0.5 if you want to make the screen dark. STYLE should probably be 0 (linear) ZSTART should be 0, ZEND should be about 8000 maybe. I'm not entirely sure what DENSITY does.
ZSTART is the z position (height) where the fog starts and ZEND is where the fog finishes.
if GetLocalPlayer() == YOUR_PLAYER then
endif
The default height of the terrain should be 0 I think.
And it doesn't affect every player if you do it in theblockJASS:if GetLocalPlayer() == YOUR_PLAYER then endif