# Reset Fog of War Alpha
Flags —
Native
|Action
Reset a player’s Fog of War transparency level to the default value.
# Arguments
int
— Player
Returns — void
native void VisResetFoWAlpha(int player);
# Related
Category: Visibility / Basic
- [F] —
void
— Reveal Area — ( VisRevealArea ) - [F] —
void
— Explore/Unexplore Area — ( VisExploreArea ) - [F] —
void
— Fill Area Visibility — ( VisFillArea ) - [F] —
void
— Enable/Disable Visibility — ( VisEnable ) - [F] —
void
— Show/Hide Placement Models — ( libNtve_gf_ShowHidePlacementModels ) - [F] —
fixed
— Get Fog of War Alpha — ( VisGetFoWAlpha ) - [F] —
void
— Set Fog of War Alpha — ( VisSetFoWAlpha ) - [F] —
void
— Reset Fog of War Alpha — ( VisResetFoWAlpha ) - [F] —
bool
— Visibility Is Enabled — ( VisIsEnabled ) - [F] —
bool
— Point Is Visible For Player — ( VisIsVisibleForPlayer )
# Examples
# campaigns/voidstory.sc2campaign
— VoidCampaignMissionLib.galaxy
// L573
VisResetFoWAlpha(1)
// L749
VisResetFoWAlpha(1)
// L760
VisResetFoWAlpha(1)
# mods/starcoop/starcoop.sc2mod
// L7062
VisResetFoWAlpha(lp_player)
// L7199
VisResetFoWAlpha(lp_player)
// L7210
VisResetFoWAlpha(lp_player)
# mods/starcoop/starcoop.sc2mod
// L8585
VisResetFoWAlpha(lv_indexPlayer)