SetTerrainFogExForPlayer
not ratedChanges fog for just one player. Haven't actually tested to make sure it doesn't desync, but I've been told it doesn't. If enough people post comments saying it doesn't I'll change this descrption.
function SetTerrainFogExForPlayer takes player whichPlayer, integer style, real zstart, real zend, real density, real red, real green, real blue returns nothing
if (GetLocalPlayer() == whichPlayer) then
call SetTerrainFogEx(style, zstart, zend, density, red, green, blue)
endif
endfunctionNo comments.