# Get Fog of War Alpha

FlagsNative | Function

Get a player’s Fog of War transparency level. (0 = transparent, 100 = opaque)

# Arguments

  • int — Player

Returns — fixed

native fixed VisGetFoWAlpha(int player);

Category: Visibility / Basic

# Examples

# campaigns/voidstory.sc2campaign

VoidCampaignMissionLib.galaxy

// L704
VisGetFoWAlpha(1)
// L748
VisGetFoWAlpha(1)
// L750
VisGetFoWAlpha(1)

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L7147
VisGetFoWAlpha(lp_player)
// L7198
VisGetFoWAlpha(lp_player)
// L7200
VisGetFoWAlpha(lp_player)