# Show/Hide Doodads In Region

GrammarshowHide all doodadType doodads in the region target
FlagsAction

Show or hide all of the doodads of the specified type in a region.

# Arguments

  • bool [ preset::ShowHideOption ] — Show/Hide
  • region — Target
  • string [ gamelink::Actor ] — Doodad Type

Returns — void

void libNtve_gf_ShowHideDoodadsInRegion(
	bool lp_showHide,
	region lp_target,
	string lp_doodadType,
);

Category: Actor / Utility

# Examples

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L3655
libNtve_gf_ShowHideDoodadsInRegion(true, RegionEntireMap(), "DustStorms")
// L3655
libNtve_gf_ShowHideDoodadsInRegion(true, RegionEntireMap(), "DustStorms")
// L2643
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "RainSprinkle")
// L4397
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "RainSprinkle")
// L1356
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "RainEmitterLarge")
// L1357
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "LightningBolt")
// L1358
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "ThunderLightning")
// L1359
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "Cybros_Beam")
// L1360
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "SOA_Beam")
// L1361
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "OrbitalMegaDeathBeam_ImpactTrail")
// L1848
libNtve_gf_ShowHideDoodadsInRegion(false, lv_voidShardRegion, "ShakurasBaseShield")
// L3101
libNtve_gf_ShowHideDoodadsInRegion(true, RegionEntireMap(), "RainEmitterLarge")
// L3136
libNtve_gf_ShowHideDoodadsInRegion(true, RegionEntireMap(), "LightningBolt")
// L3137
libNtve_gf_ShowHideDoodadsInRegion(true, RegionEntireMap(), "ThunderLightning")
// L1807
libNtve_gf_ShowHideDoodadsInRegion(false, RegionPlayableMap(), "SpaceFallingDebris")
// L5034
libNtve_gf_ShowHideDoodadsInRegion(true, gv_stabilizers[1].lv_stabilizerRegion, "SmokePillarsTall")
// L5784
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "Reentry_Wind")
// L5785
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "Korhal_Platform_ReentryCloudsBig")
// L5521
libNtve_gf_ShowHideDoodadsInRegion(true, RegionFromId(75), "PurifierStasisPadFlat")
// L5740
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(75), "PurifierStasisPadFlat")
// L1516
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(117), "Purifier_StasisPods_Chamber")
// L1517
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(117), "Purifier_StasisPods")
// L6398
libNtve_gf_ShowHideDoodadsInRegion(true, RegionFromId(117), "Purifier_StasisPods_Chamber")
// L6399
libNtve_gf_ShowHideDoodadsInRegion(true, RegionFromId(117), "Purifier_StasisPods")
// L6549
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(117), "Purifier_StasisPods_Chamber")
// L6550
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(117), "Purifier_StasisPods")
// L1009
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "LightningBolt")
// L2871
libNtve_gf_ShowHideDoodadsInRegion(true, RegionEntireMap(), "LightningBolt")
// L781
libNtve_gf_ShowHideDoodadsInRegion(true, RegionCircle(lp_point, 1.0), "SpaceFallingDebris")
// L797
libNtve_gf_ShowHideDoodadsInRegion(true, RegionCircle(lp_point, 1.0), "Sunrays")
// L798
libNtve_gf_ShowHideDoodadsInRegion(true, RegionCircle(lp_point, 1.0), "Blast_Craters_Big")
// L801
libNtve_gf_ShowHideDoodadsInRegion(false, RegionCircle(lp_point, 1.0), "SpaceFallingDebris")
// L925
libNtve_gf_ShowHideDoodadsInRegion(true, RegionCircle(lp_startPoint, 1.0), "SpaceFallingDebris")
// L943
libNtve_gf_ShowHideDoodadsInRegion(true, RegionCircle(UnitGetPosition(lv_planetCracker), 1.0), "SpaceFallingDebris")
// L944
libNtve_gf_ShowHideDoodadsInRegion(true, RegionCircle(UnitGetPosition(lv_planetCracker), 1.0), "Sunrays")
// L1605
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(8), "Blast_Craters_Big")
// L1606
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(8), "Sunrays")
// L1607
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(8), "SpaceFallingDebris")
// L2083
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "Korhal_TarmacSplat")
// L9110
libNtve_gf_ShowHideDoodadsInRegion(true, RegionEntireMap(), "Korhal_TarmacSplat")
// L1243
libNtve_gf_ShowHideDoodadsInRegion(true, gv_worldCleaverBaseAreas[lp_index].lv_killZone, "Void_CliffRocks_Edge")
// L1244
libNtve_gf_ShowHideDoodadsInRegion(true, gv_worldCleaverBaseAreas[lp_index].lv_killZone, "Void_CliffRocks_Mass_A")
// L1245
libNtve_gf_ShowHideDoodadsInRegion(false, gv_worldCleaverBaseAreas[lp_index].lv_killZone, "Void_Cliff_Rocks")
// L1331
libNtve_gf_ShowHideDoodadsInRegion(true, gv_worldCleaverFieldAreas[lp_index].lv_killZone, "Void_CliffRocks_Edge")
// L1332
libNtve_gf_ShowHideDoodadsInRegion(true, gv_worldCleaverFieldAreas[lp_index].lv_killZone, "Void_CliffRocks_Mass_A")
// L3798
libNtve_gf_ShowHideDoodadsInRegion(false, gv_worldCleaverBaseAreas[lv_index].lv_killZone, "Void_CliffRocks_Edge")
// L3799
libNtve_gf_ShowHideDoodadsInRegion(false, gv_worldCleaverBaseAreas[lv_index].lv_killZone, "Void_CliffRocks_Mass_A")
// L3820
libNtve_gf_ShowHideDoodadsInRegion(false, gv_worldCleaverFieldAreas[lv_index].lv_killZone, "Void_CliffRocks_Edge")
// L3821
libNtve_gf_ShowHideDoodadsInRegion(false, gv_worldCleaverFieldAreas[lv_index].lv_killZone, "Void_CliffRocks_Mass_A")
// L6522
libNtve_gf_ShowHideDoodadsInRegion(true, gv_worldCleaverBaseAreas[1].lv_killZone, "Void_CliffRocks_Edge")
// L2643
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "RainSprinkle")
// L4397
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "RainSprinkle")
// L1356
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "RainEmitterLarge")
// L1357
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "LightningBolt")
// L1358
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "ThunderLightning")
// L1359
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "Cybros_Beam")
// L1360
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "SOA_Beam")
// L1361
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "OrbitalMegaDeathBeam_ImpactTrail")
// L1848
libNtve_gf_ShowHideDoodadsInRegion(false, lv_voidShardRegion, "ShakurasBaseShield")
// L3101
libNtve_gf_ShowHideDoodadsInRegion(true, RegionEntireMap(), "RainEmitterLarge")
// L3136
libNtve_gf_ShowHideDoodadsInRegion(true, RegionEntireMap(), "LightningBolt")
// L3137
libNtve_gf_ShowHideDoodadsInRegion(true, RegionEntireMap(), "ThunderLightning")
// L1807
libNtve_gf_ShowHideDoodadsInRegion(false, RegionPlayableMap(), "SpaceFallingDebris")
// L5034
libNtve_gf_ShowHideDoodadsInRegion(true, gv_stabilizers[1].lv_stabilizerRegion, "SmokePillarsTall")
// L5784
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "Reentry_Wind")
// L5785
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "Korhal_Platform_ReentryCloudsBig")
// L5521
libNtve_gf_ShowHideDoodadsInRegion(true, RegionFromId(75), "PurifierStasisPadFlat")
// L5740
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(75), "PurifierStasisPadFlat")
// L1516
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(117), "Purifier_StasisPods_Chamber")
// L1517
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(117), "Purifier_StasisPods")
// L6398
libNtve_gf_ShowHideDoodadsInRegion(true, RegionFromId(117), "Purifier_StasisPods_Chamber")
// L6399
libNtve_gf_ShowHideDoodadsInRegion(true, RegionFromId(117), "Purifier_StasisPods")
// L6549
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(117), "Purifier_StasisPods_Chamber")
// L6550
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(117), "Purifier_StasisPods")
// L1009
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "LightningBolt")
// L2871
libNtve_gf_ShowHideDoodadsInRegion(true, RegionEntireMap(), "LightningBolt")
// L781
libNtve_gf_ShowHideDoodadsInRegion(true, RegionCircle(lp_point, 1.0), "SpaceFallingDebris")
// L797
libNtve_gf_ShowHideDoodadsInRegion(true, RegionCircle(lp_point, 1.0), "Sunrays")
// L798
libNtve_gf_ShowHideDoodadsInRegion(true, RegionCircle(lp_point, 1.0), "Blast_Craters_Big")
// L801
libNtve_gf_ShowHideDoodadsInRegion(false, RegionCircle(lp_point, 1.0), "SpaceFallingDebris")
// L925
libNtve_gf_ShowHideDoodadsInRegion(true, RegionCircle(lp_startPoint, 1.0), "SpaceFallingDebris")
// L943
libNtve_gf_ShowHideDoodadsInRegion(true, RegionCircle(UnitGetPosition(lv_planetCracker), 1.0), "SpaceFallingDebris")
// L944
libNtve_gf_ShowHideDoodadsInRegion(true, RegionCircle(UnitGetPosition(lv_planetCracker), 1.0), "Sunrays")
// L1605
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(8), "Blast_Craters_Big")
// L1606
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(8), "Sunrays")
// L1607
libNtve_gf_ShowHideDoodadsInRegion(false, RegionFromId(8), "SpaceFallingDebris")
// L2083
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "Korhal_TarmacSplat")
// L9110
libNtve_gf_ShowHideDoodadsInRegion(true, RegionEntireMap(), "Korhal_TarmacSplat")
// L1243
libNtve_gf_ShowHideDoodadsInRegion(true, gv_worldCleaverBaseAreas[lp_index].lv_killZone, "Void_CliffRocks_Edge")
// L1244
libNtve_gf_ShowHideDoodadsInRegion(true, gv_worldCleaverBaseAreas[lp_index].lv_killZone, "Void_CliffRocks_Mass_A")
// L1245
libNtve_gf_ShowHideDoodadsInRegion(false, gv_worldCleaverBaseAreas[lp_index].lv_killZone, "Void_Cliff_Rocks")
// L1331
libNtve_gf_ShowHideDoodadsInRegion(true, gv_worldCleaverFieldAreas[lp_index].lv_killZone, "Void_CliffRocks_Edge")
// L1332
libNtve_gf_ShowHideDoodadsInRegion(true, gv_worldCleaverFieldAreas[lp_index].lv_killZone, "Void_CliffRocks_Mass_A")
// L3798
libNtve_gf_ShowHideDoodadsInRegion(false, gv_worldCleaverBaseAreas[lv_index].lv_killZone, "Void_CliffRocks_Edge")
// L3799
libNtve_gf_ShowHideDoodadsInRegion(false, gv_worldCleaverBaseAreas[lv_index].lv_killZone, "Void_CliffRocks_Mass_A")
// L3820
libNtve_gf_ShowHideDoodadsInRegion(false, gv_worldCleaverFieldAreas[lv_index].lv_killZone, "Void_CliffRocks_Edge")
// L3821
libNtve_gf_ShowHideDoodadsInRegion(false, gv_worldCleaverFieldAreas[lv_index].lv_killZone, "Void_CliffRocks_Mass_A")
// L6522
libNtve_gf_ShowHideDoodadsInRegion(true, gv_worldCleaverBaseAreas[1].lv_killZone, "Void_CliffRocks_Edge")

# mods/heroesdata.stormmod

SupportLib.galaxy

// L7393
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "Storm_Doodad_KingsCrest_Docks_RollingFog")

# mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod

LibMHtM.galaxy

// L82
libNtve_gf_ShowHideDoodadsInRegion(false, RegionEntireMap(), "UnderworldGateHelper")