# Get Fog of War Alpha
Flags —
Native
|Function
Get a player’s Fog of War transparency level. (0 = transparent, 100 = opaque)
# Arguments
int
— Player
Returns — fixed
native fixed VisGetFoWAlpha(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
// L704
VisGetFoWAlpha(1)
// L748
VisGetFoWAlpha(1)
// L750
VisGetFoWAlpha(1)
# mods/starcoop/starcoop.sc2mod
// L7147
VisGetFoWAlpha(lp_player)
// L7198
VisGetFoWAlpha(lp_player)
// L7200
VisGetFoWAlpha(lp_player)