Change fog to this type. See
fogstatefor type explanation.
Target rectangle area.
If true, apply new state to player and whoever player shares their vision. If false, apply only to player themself.
Sets target player's fog of war data in the specified rectangle.
Individual player's fog state is a reflection of player's map exploration progress: which areas were explored or still hidden; which are fogged (not visible); which are visible. What is visible in game is a combination of personal fog state & fog modifiers.
- return type
- Source code
native SetFogStateRect takes player forWhichPlayer, fogstate whichState, rect where, boolean useSharedVision returns nothing