# Show/Hide Environment

GrammarshowHide environmentType
FlagsNative | Action

Shows or hides graphics associated with the game environment. This includes terrain, doodads, and water.

# Arguments

Returns — void

native void EnvironmentShow(int inType, bool inShow);

Category: Environment / Terrain And Water

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L9896
EnvironmentShow(c_environmentTerrain, false)
// L9897
EnvironmentShow(c_environmentDoodads, false)
// L9898
EnvironmentShow(c_environmentWater, false)
// L7126
EnvironmentShow(c_environmentDoodads, false)
// L7127
EnvironmentShow(c_environmentWater, false)
// L7128
EnvironmentShow(c_environmentTerrain, false)
// L7154
EnvironmentShow(c_environmentDoodads, true)
// L7155
EnvironmentShow(c_environmentWater, true)
// L7156
EnvironmentShow(c_environmentTerrain, true)
// L5411
EnvironmentShow(c_environmentDoodads, false)
// L5412
EnvironmentShow(c_environmentTerrain, false)
// L5413
EnvironmentShow(c_environmentWater, false)
// L5494
EnvironmentShow(c_environmentAll, true)
// L6715
EnvironmentShow(c_environmentAll, false)
// L9896
EnvironmentShow(c_environmentTerrain, false)
// L9897
EnvironmentShow(c_environmentDoodads, false)
// L9898
EnvironmentShow(c_environmentWater, false)
// L7126
EnvironmentShow(c_environmentDoodads, false)
// L7127
EnvironmentShow(c_environmentWater, false)
// L7128
EnvironmentShow(c_environmentTerrain, false)
// L7154
EnvironmentShow(c_environmentDoodads, true)
// L7155
EnvironmentShow(c_environmentWater, true)
// L7156
EnvironmentShow(c_environmentTerrain, true)
// L5411
EnvironmentShow(c_environmentDoodads, false)
// L5412
EnvironmentShow(c_environmentTerrain, false)
// L5413
EnvironmentShow(c_environmentWater, false)
// L5494
EnvironmentShow(c_environmentAll, true)
// L6715
EnvironmentShow(c_environmentAll, false)
// L5538
EnvironmentShow(c_environmentAll, true)
// L12007
EnvironmentShow(c_environmentTerrain, false)
// L12146
EnvironmentShow(c_environmentTerrain, true)
// L6326
EnvironmentShow(c_environmentAll, true)
// L6917
EnvironmentShow(c_environmentAll, false)
// L7647
EnvironmentShow(c_environmentAll, false)
// L7658
EnvironmentShow(c_environmentAll, true)
// L7809
EnvironmentShow(c_environmentAll, true)
// L5538
EnvironmentShow(c_environmentAll, true)
// L12007
EnvironmentShow(c_environmentTerrain, false)
// L12146
EnvironmentShow(c_environmentTerrain, true)
// L6326
EnvironmentShow(c_environmentAll, true)
// L6917
EnvironmentShow(c_environmentAll, false)
// L7647
EnvironmentShow(c_environmentAll, false)
// L7658
EnvironmentShow(c_environmentAll, true)
// L7809
EnvironmentShow(c_environmentAll, true)

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L8830
EnvironmentShow(c_environmentAll, false)

# campaigns/void.sc2campaign

MapScript.galaxy

// L4032
EnvironmentShow(c_environmentWater, false)
// L4098
EnvironmentShow(c_environmentWater, true)
// L4225
EnvironmentShow(c_environmentWater, true)
// L4443
EnvironmentShow(c_environmentWater, false)
// L6721
EnvironmentShow(c_environmentTerrain, true)
// L6722
EnvironmentShow(c_environmentWater, true)
// L6723
EnvironmentShow(c_environmentDoodads, true)
// L4032
EnvironmentShow(c_environmentWater, false)
// L4098
EnvironmentShow(c_environmentWater, true)
// L4225
EnvironmentShow(c_environmentWater, true)
// L4443
EnvironmentShow(c_environmentWater, false)
// L6721
EnvironmentShow(c_environmentTerrain, true)
// L6722
EnvironmentShow(c_environmentWater, true)
// L6723
EnvironmentShow(c_environmentDoodads, true)

# mods/missionpacks/novacampaign.sc2mod

LibNCMI.galaxy

// L1885
EnvironmentShow(c_environmentAll, false)

# mods/novastoryassets.sc2mod

MapScript.galaxy

// L8148
EnvironmentShow(c_environmentAll, false)
// L8148
EnvironmentShow(c_environmentAll, false)