# Kill Doodads In Region

Grammar — Kill doodadType doodads in region target
FlagsAction

Causes all of the doodads in the selected region to play their death animation (if they have one).

# Arguments

  • region — Target
  • string [ gamelink::Actor ] — Doodad Type

Returns — void

void libNtve_gf_KillDoodadsInRegion(
	region lp_target,
	string lp_doodadType,
);

Category: Animation / Basic

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L2836
libNtve_gf_KillDoodadsInRegion(RegionCircle(CameraGetTarget(gv_p01_USER), 15.0), "TTosh01RockSpires")
// L2836
libNtve_gf_KillDoodadsInRegion(RegionCircle(CameraGetTarget(gv_p01_USER), 15.0), "TTosh01RockSpires")
// L1751
libNtve_gf_KillDoodadsInRegion(RegionCircle(CameraGetTarget(gv_pLAYER_01_USER), 15.0), "TTosh01RockSpires")
// L1247
libNtve_gf_KillDoodadsInRegion(RegionFromId(13), "GateControlCables")
// L1438
libNtve_gf_KillDoodadsInRegion(RegionFromId(4), "CliffSpikesDestructible")
// L938
libNtve_gf_KillDoodadsInRegion(lp_region, "CliffSpikesDestructible")
// L1658
libNtve_gf_KillDoodadsInRegion(RegionFromId(28), "SpaceDockPowerLines")
// L1661
libNtve_gf_KillDoodadsInRegion(RegionFromId(29), "SpaceDockPowerLines")
// L1664
libNtve_gf_KillDoodadsInRegion(RegionFromId(32), "SpaceDockPowerLines")
// L1667
libNtve_gf_KillDoodadsInRegion(RegionFromId(42), "SpaceDockPowerLines")
// L1751
libNtve_gf_KillDoodadsInRegion(RegionCircle(CameraGetTarget(gv_pLAYER_01_USER), 15.0), "TTosh01RockSpires")
// L1247
libNtve_gf_KillDoodadsInRegion(RegionFromId(13), "GateControlCables")
// L1438
libNtve_gf_KillDoodadsInRegion(RegionFromId(4), "CliffSpikesDestructible")
// L938
libNtve_gf_KillDoodadsInRegion(lp_region, "CliffSpikesDestructible")
// L1658
libNtve_gf_KillDoodadsInRegion(RegionFromId(28), "SpaceDockPowerLines")
// L1661
libNtve_gf_KillDoodadsInRegion(RegionFromId(29), "SpaceDockPowerLines")
// L1664
libNtve_gf_KillDoodadsInRegion(RegionFromId(32), "SpaceDockPowerLines")
// L1667
libNtve_gf_KillDoodadsInRegion(RegionFromId(42), "SpaceDockPowerLines")
// L2626
libNtve_gf_KillDoodadsInRegion(RegionCircle(UnitGetPosition(gv_conduit01), 7.0), "CreepWeb")
// L2769
libNtve_gf_KillDoodadsInRegion(RegionCircle(UnitGetPosition(gv_conduit02), 7.0), "CreepWeb")
// L5670
libNtve_gf_KillDoodadsInRegion(RegionCircle(RegionGetCenter(RegionFromId(30)), 24.0), "Aiur_Broodlord_Crash")
// L5705
libNtve_gf_KillDoodadsInRegion(RegionCircle(RegionGetCenter(RegionFromId(32)), 24.0), "Aiur_Broodlord_Crash")
// L4807
libNtve_gf_KillDoodadsInRegion(RegionFromId(32), "Aiur_Temple_CliffDoodads_Destructible")
// L3303
libNtve_gf_KillDoodadsInRegion(gv_explodingCliffBuildings[lv_index].lv_region, "ExplodingCliffBuilding")
// L3311
libNtve_gf_KillDoodadsInRegion(gv_damagedCliffBuildings[lv_index].lv_region, "KorhalPlatform_DamagedCliffBuilding")
// L3319
libNtve_gf_KillDoodadsInRegion(gv_korhalDebris[lv_index].lv_region, "Korhal_Debris")
// L2626
libNtve_gf_KillDoodadsInRegion(RegionCircle(UnitGetPosition(gv_conduit01), 7.0), "CreepWeb")
// L2769
libNtve_gf_KillDoodadsInRegion(RegionCircle(UnitGetPosition(gv_conduit02), 7.0), "CreepWeb")
// L5670
libNtve_gf_KillDoodadsInRegion(RegionCircle(RegionGetCenter(RegionFromId(30)), 24.0), "Aiur_Broodlord_Crash")
// L5705
libNtve_gf_KillDoodadsInRegion(RegionCircle(RegionGetCenter(RegionFromId(32)), 24.0), "Aiur_Broodlord_Crash")
// L4807
libNtve_gf_KillDoodadsInRegion(RegionFromId(32), "Aiur_Temple_CliffDoodads_Destructible")
// L3303
libNtve_gf_KillDoodadsInRegion(gv_explodingCliffBuildings[lv_index].lv_region, "ExplodingCliffBuilding")
// L3311
libNtve_gf_KillDoodadsInRegion(gv_damagedCliffBuildings[lv_index].lv_region, "KorhalPlatform_DamagedCliffBuilding")
// L3319
libNtve_gf_KillDoodadsInRegion(gv_korhalDebris[lv_index].lv_region, "Korhal_Debris")
// L5362
libNtve_gf_KillDoodadsInRegion(RegionEntireMap(), "SnowBase_Fog_Mountain_Upper")
// L5362
libNtve_gf_KillDoodadsInRegion(RegionEntireMap(), "SnowBase_Fog_Mountain_Upper")