# Remove Death Models in Region Immediately
Grammar — Remove death models in region region immediately
Flags —Action
Destroys all of the unit death models in the specified region immediately.
# Arguments
region
— Region
Returns — void
void libNtve_gf_RemoveDeathModelsinRegionImmediately(
region lp_region,
);
# Related
Category: Actor / Destroy Actors
- Kill Actor Scope —
void
— ActorScopeKill - Kill All Particles —
void
— ActorWorldParticleFXDestroy - Kill Model —
void
— libNtve_gf_KillModel - Orphan Actor Scope —
void
— ActorScopeOrphan - Remove Doodads in Region —
void
— libNtve_gf_RemoveDoodadsinRegion - Remove Death Models in Region —
void
— libNtve_gf_RemoveDeathModelsinRegion - Remove Death Models in Region Immediately —
void
— libNtve_gf_RemoveDeathModelsinRegionImmediately
# Examples
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionhydralisk.sc2map/MapScript.galaxy:2482
libNtve_gf_GlobalCinematicSetting(true);
UnitClearSelection(gv_pLAYER_01_USER);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionFromId(5));
UnitGroupAddUnitGroup(lv_fadeoutUnits, gv_lurkerPlayerUnits);
UnitGroupAddUnitGroup(lv_fadeoutUnits, gv_lurkerAttackGroupCurrent);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2map/MapScript.galaxy:3632
libSwaC_gf_SendTransmissionCampaign(null, "zEvoBriefing_Mutalisk|Line00015", c_transmissionDurationAdd, 0.0, true, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(921), 0.0, -1, 10, true);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionFromId(5));
UnitGroupLoopBegin(gv_cinematicTempUnits);
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionswarmhost.sc2map/MapScript.galaxy:2516
libNtve_gf_GlobalCinematicSetting(true);
UnitClearSelection(gv_pLAYER_01_USER);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionFromId(8));
UnitGroupAddUnitGroup(lv_fadeOutUnits, UnitGroup(null, gv_pLAYER_01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupAddUnitGroup(lv_fadeOutUnits, UnitGroup(null, gv_pLAYER_02_DOMINION, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionswarmhost.sc2map/MapScript.galaxy:2685
libNtve_gf_GlobalCinematicSetting(true);
UnitClearSelection(gv_pLAYER_01_USER);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionFromId(15));
UnitGroupAddUnitGroup(lv_fadeOutUnits, UnitGroup(null, gv_pLAYER_01_USER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupAddUnitGroup(lv_fadeOutUnits, UnitGroup(null, gv_pLAYER_02_DOMINION, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:4721
TriggerStop(gt_IntroGorgonLaunch);
TriggerEnable(gt_IntroGorgonLaunch, false);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionFromId(16));
libNtve_gf_KillModel(gv_introReticle);
TextTagDestroy(gv_introTextTag);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:8832
}
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionCircle(PointFromId(807), 12.0));
libNtve_gf_ClearAnimation(gv_lasarraActor, "Death");
libNtve_gf_KillModel(gv_lasarraActor);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:7317
UnitSetState(gv_victoryKerrigan, c_unitStateFidget, false);
UnitBehaviorAdd(gv_victoryKerrigan, "KerriganWalk", gv_victoryKerrigan, 1);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionPlayableMap());
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:13393
UnitSetFacing(gv_kerrigan, 260.0, 0.0);
UnitSetPosition(gv_kerrigan222, PointFromId(757), false);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionFromId(60));
TriggerExecute(gt_VictoryMusic, true, false);
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:8337
PlayerSetState(gv_p01_USER, c_playerStateXPGain, false);
GameTimeOfDayPause(true);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionFromId(25));
UnitPauseAll(true);
gv_cinematicHiddenUnits = UnitGroupEmpty();
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionhydralisk.sc2map — MapScript.galaxy:2482
libNtve_gf_GlobalCinematicSetting(true);
UnitClearSelection(gv_pLAYER_01_USER);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionFromId(5));
UnitGroupAddUnitGroup(lv_fadeoutUnits, gv_lurkerPlayerUnits);
UnitGroupAddUnitGroup(lv_fadeoutUnits, gv_lurkerAttackGroupCurrent);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2map — MapScript.galaxy:3632
libSwaC_gf_SendTransmissionCampaign(null, "zEvoBriefing_Mutalisk|Line00015", c_transmissionDurationAdd, 0.0, true, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(921), 0.0, -1, 10, true);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionFromId(5));
UnitGroupLoopBegin(gv_cinematicTempUnits);
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionswarmhost.sc2map — MapScript.galaxy:2516
libNtve_gf_GlobalCinematicSetting(true);
UnitClearSelection(gv_pLAYER_01_USER);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionFromId(8));
UnitGroupAddUnitGroup(lv_fadeOutUnits, UnitGroup(null, gv_pLAYER_01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupAddUnitGroup(lv_fadeOutUnits, UnitGroup(null, gv_pLAYER_02_DOMINION, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionswarmhost.sc2map — MapScript.galaxy:2685
libNtve_gf_GlobalCinematicSetting(true);
UnitClearSelection(gv_pLAYER_01_USER);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionFromId(15));
UnitGroupAddUnitGroup(lv_fadeOutUnits, UnitGroup(null, gv_pLAYER_01_USER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupAddUnitGroup(lv_fadeOutUnits, UnitGroup(null, gv_pLAYER_02_DOMINION, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:4721
TriggerStop(gt_IntroGorgonLaunch);
TriggerEnable(gt_IntroGorgonLaunch, false);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionFromId(16));
libNtve_gf_KillModel(gv_introReticle);
TextTagDestroy(gv_introTextTag);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2map — MapScript.galaxy:8832
}
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionCircle(PointFromId(807), 12.0));
libNtve_gf_ClearAnimation(gv_lasarraActor, "Death");
libNtve_gf_KillModel(gv_lasarraActor);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:7317
UnitSetState(gv_victoryKerrigan, c_unitStateFidget, false);
UnitBehaviorAdd(gv_victoryKerrigan, "KerriganWalk", gv_victoryKerrigan, 1);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionPlayableMap());
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:13393
UnitSetFacing(gv_kerrigan, 260.0, 0.0);
UnitSetPosition(gv_kerrigan222, PointFromId(757), false);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionFromId(60));
TriggerExecute(gt_VictoryMusic, true, false);
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2map — MapScript.galaxy:8337
PlayerSetState(gv_p01_USER, c_playerStateXPGain, false);
GameTimeOfDayPause(true);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionFromId(25));
UnitPauseAll(true);
gv_cinematicHiddenUnits = UnitGroupEmpty();
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:8862
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(1354), 0.0, -1, 10, true);
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(1356), ((SoundLengthSync(SoundLink(ConversationDataGetSound("Mission_Epilogue02|Line00063", true), c_soundIndexAny)) + SoundLengthSync(SoundLink(ConversationDataGetSound("Mission_Epilogue02|Line00075", true), c_soundIndexAny))) + (SoundLengthSync(SoundLink(ConversationDataGetSound("Mission_Epilogue02|Line00076", true), c_soundIndexAny)) + SoundLengthSync(SoundLink(ConversationDataGetSound("Mission_Epilogue02|Line00077", true), c_soundIndexAny)))), -1, 10, true);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionEntireMap());
CinematicFade(true, 2.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
Wait(2.0, c_timeGame);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:8862
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(1354), 0.0, -1, 10, true);
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(1356), ((SoundLengthSync(SoundLink(ConversationDataGetSound("Mission_Epilogue02|Line00063", true), c_soundIndexAny)) + SoundLengthSync(SoundLink(ConversationDataGetSound("Mission_Epilogue02|Line00075", true), c_soundIndexAny))) + (SoundLengthSync(SoundLink(ConversationDataGetSound("Mission_Epilogue02|Line00076", true), c_soundIndexAny)) + SoundLengthSync(SoundLink(ConversationDataGetSound("Mission_Epilogue02|Line00077", true), c_soundIndexAny)))), -1, 10, true);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionEntireMap());
CinematicFade(true, 2.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
Wait(2.0, c_timeGame);
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova06.sc2map/MapScript.galaxy:5905
SoundtrackStop(PlayerGroupAll(), c_soundtrackCategoryMusic, true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, gv_mapMusicTrack, c_soundtrackCueAny, c_soundtrackIndexAny, true);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionFromId(71));
RegionPlayableMapSet(RegionFromId(1));
GameTimeOfDayPause(false);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova06.sc2map — MapScript.galaxy:5905
SoundtrackStop(PlayerGroupAll(), c_soundtrackCategoryMusic, true);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, gv_mapMusicTrack, c_soundtrackCueAny, c_soundtrackIndexAny, true);
libNtve_gf_RemoveDeathModelsinRegionImmediately(RegionFromId(71));
RegionPlayableMapSet(RegionFromId(1));
GameTimeOfDayPause(false);