# Change Unit Damage
Grammar — Make unit takeDeal option damage
Flags —Action
Modifies the amount of damage a unit deals or takes. Minimal means 10% damage. Mega means 300% damage.
# Arguments
unit
— Unitint
<preset::UnitDamageTakenDealt> — Take/Dealint
<preset::UnitDamageChangeOption> — Option
Returns — void
void libNtve_gf_ChangeUnitDamage(
unit lp_unit,
int lp_takeDeal,
int lp_option,
);
# Related
Category: Unit / Properties
- Unit Type Of Unit —
string
<gamelink::Unit> — UnitGetType - Unit Tag —
int
— UnitGetTag - Unit Seed —
int
— UnitGetSeed - Unit Property Changes —
void
— TriggerAddEventUnitProperty - Triggering Unit Property —
int
<preset::Unit_Property> — EventUnitProperty - Triggering Unit Property Change (Integer) —
int
— EventUnitPropertyChangeInt - Triggering Unit Property Change (Real) —
fixed
— EventUnitPropertyChangeFixed - Set Unit Property —
void
— UnitSetPropertyFixed - Set Unit State —
void
— UnitSetState - Set Unit Seed —
void
— UnitSetSeed - Reset Unit Seed —
void
— UnitResetSeed - Make Unit Invulnerable —
void
— libNtve_gf_MakeUnitInvulnerable - Make Unit Uncommandable —
void
— libNtve_gf_MakeUnitUncommandable - Unit Property —
fixed
— UnitGetPropertyFixed - Unit Property (Int) —
int
— UnitGetPropertyInt - Unit Type Property —
fixed
— UnitTypeGetProperty - Unit Classification Check —
bool
— UnitTestState - Unit Type Classification Check —
bool
— UnitTypeTestFlag - Unit Type Attribute Check —
bool
— UnitTypeTestAttribute - Unit Targetable Check —
bool
— UnitTestPlane - Unit Is Invulnerable —
bool
— libNtve_gf_UnitIsInvulnerable - Unit Kills —
int
— libNtve_gf_UnitGetPropertyKills - Unit Resources —
int
— libNtve_gf_UnitGetPropertyResources - Unit Attachment Point —
point
— UnitGetAttachmentPoint - Name Of Unit Type —
text
— UnitTypeGetName - Gender Code Of Unit Type —
string
— UnitTypeGetGenderCode - Unit Type Cost —
int
— UnitTypeGetCost - Unit Type Is Affected By Upgrade —
bool
— UnitTypeIsAffectedByUpgrade - Reset Movement Speed —
void
— UnitResetSpeed - Unit Uses Mover —
bool
— UnitMoverExists - Unit Type Uses Mover —
bool
— libNtve_gf_UnitMoverExists - Unit Type From String —
string
<gamelink::Unit> — UnitTypeFromString - Set Unit Color —
void
— UnitSetTeamColorIndex - Set Unit Info Button - Ability Tooltip —
void
— libNtve_gf_SetUnitInfoButtonAbilityTooltip - Set Unit Info Button - Button Tooltip —
void
— libNtve_gf_SetUnitInfoButtonButtonTooltip - Set Unit Info Button - Item Tooltip —
void
— libNtve_gf_SetUnitInfoButtonItemTooltip - Reset Unit Info Button - Ability Tooltip —
void
— libNtve_gf_ResetUnitInfoButtonAbilityTooltip - Reset Unit Info Button - Button Tooltip —
void
— libNtve_gf_ResetUnitInfoButtonButtonTooltip - Reset Unit Info Button - Item Tooltip —
void
— libNtve_gf_ResetUnitInfoButtonItemTooltip - Set Unit Command Button Tooltip —
void
— UnitSetInfoButtonTooltip - Reset Unit Command Button Tooltip —
void
— UnitClearInfoButtonTooltip - Set Unit Highlight Cursor —
void
— UnitSetCursor - Set Unit Ping Cursor —
void
— UnitSetPingCursor - Set Unit Info —
void
— UnitSetInfoText - Set Unit Info Text —
void
— UnitSetInfoText2 - Set Unit Info Tip —
void
— UnitSetInfoTip - Set Unit Info SubTip —
void
— UnitSetInfoSubTip - Clear Unit Info —
void
— UnitClearInfoText - Set Unit Status Bar State (Deprecated) —
void
— UnitForceStatusBar - Show Unit Status Bar —
void
— UnitStatusBarOverride - Hide Unit Status Bar —
void
— UnitStatusBarClearOverride - Set Unit Scale —
void
— UnitSetScale - Set Unit Model Variation —
void
— libNtve_gf_UnitSetVariation - Change Unit Height —
void
— UnitSetHeight - Height Of Unit —
fixed
— UnitGetHeight - Change Unit Damage —
void
— libNtve_gf_ChangeUnitDamage - Add On Child —
unit
— UnitAddOnChild - Add On Parent —
unit
— UnitAddOnParent
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5781
if (auto0F0F1029_var == null) { break; }
UnitSetOwner(auto0F0F1029_var, gv_p4_COLONISTS, true);
libNtve_gf_ChangeUnitDamage(auto0F0F1029_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
}
auto819CA525_g = UnitGroup("Marine", 1, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4990
UnitSetOwner(UnitFromId(7), gv_pLAYER_02_REFUGEES, true);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(653));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(376));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4992
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(376));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(484));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4994
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(484));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(498));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4996
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(498));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Firebat", 0, gv_pLAYER_02_REFUGEES, PointFromId(863));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4998
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Firebat", 0, gv_pLAYER_02_REFUGEES, PointFromId(863));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Firebat", 0, gv_pLAYER_02_REFUGEES, PointFromId(864));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:5000
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Firebat", 0, gv_pLAYER_02_REFUGEES, PointFromId(864));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Medic", 0, gv_pLAYER_02_REFUGEES, PointFromId(866));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:5002
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Medic", 0, gv_pLAYER_02_REFUGEES, PointFromId(866));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Medic", 0, gv_pLAYER_02_REFUGEES, PointFromId(865));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:5004
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Medic", 0, gv_pLAYER_02_REFUGEES, PointFromId(865));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
TriggerExecute(gt_BriefingScene03BaseDefense, true, false);
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(471), 0.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:5270
gv_gameOver = true;
libNtve_gf_ShowHideBossBar(false, gv_purifierBossBar);
libNtve_gf_ChangeUnitDamage(UnitFromId(2722), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_ChangeUnitDamage(UnitFromId(1678), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_ChangeUnitDamage(UnitFromId(1594), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:5271
libNtve_gf_ShowHideBossBar(false, gv_purifierBossBar);
libNtve_gf_ChangeUnitDamage(UnitFromId(2722), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_ChangeUnitDamage(UnitFromId(1678), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_ChangeUnitDamage(UnitFromId(1594), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
TriggerExecute(gt_ObjectiveDestroyPurifierComplete, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:5272
libNtve_gf_ChangeUnitDamage(UnitFromId(2722), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_ChangeUnitDamage(UnitFromId(1678), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_ChangeUnitDamage(UnitFromId(1594), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
TriggerExecute(gt_ObjectiveDestroyPurifierComplete, true, true);
libCamp_gf_RunMissionVictorySequence(gt_VictoryQ);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:4492
gv_gameOver = true;
PingDestroy(gv_orlansFortressPing);
libNtve_gf_ChangeUnitDamage(UnitFromId(90), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
TriggerExecute(gt_ObjectiveBuyContractComplete, true, true);
TriggerExecute(gt_ObjectiveDestroyOrlanComplete, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:3207
TriggerEnable(gt_TransmissionTychusNoticesRaynorsUnitsQ, false);
libNtve_gf_ChangeUnitDamage(UnitFromId(2), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
VisRevealArea(gv_p01_USER, RegionFromId(20), 0.0, false);
VisRevealArea(gv_p02_TYCHUS, RegionFromId(20), 0.0, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5500
libNtve_gf_PauseUnit(UnitFromId(4), false);
libNtve_gf_MakeUnitInvulnerable(UnitFromId(341), false);
libNtve_gf_ChangeUnitDamage(UnitFromId(341), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2579
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_ChangeUnitDamage(gv_odin, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
TriggerEnable(gt_OdinDiesMovetoStage2, false);
TransmissionClear(gv_hornerTimeWarning);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:6763
if ((gv_odinDead == false)) {
libNtve_gf_ShowHideUnit(gv_odin, true);
libNtve_gf_ChangeUnitDamage(gv_odin, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
UnitSetPosition(UnitFromId(1), PointFromId(19), false);
libNtve_gf_MakeUnitFacePoint(gv_odin, PointFromId(1480), 0.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:8173
UnitSetTeamColorIndex(gv_hercules, 1);
UnitSetState(gv_hercules, c_unitStateTargetable, false);
libNtve_gf_ChangeUnitDamage(gv_hercules, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
ObjectiveShow(gv_objectiveEscape, PlayerGroupAll(), true);
ObjectiveShow(gv_objectiveRaynorSurvive, PlayerGroupAll(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:4117
TriggerEnable(TriggerGetCurrent(), false);
gv_gameOver = true;
libNtve_gf_ChangeUnitDamage(gv_raynor, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
CameraPan(gv_p1_USER, PointFromId(2439), 2.0, -1, 20, false);
Wait(2.0, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:4251
if (auto78DDF86E_var == null) { break; }
UnitBehaviorRemove(auto78DDF86E_var, "TerranBuildingBurnDown", 1);
libNtve_gf_ChangeUnitDamage(auto78DDF86E_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
}
TriggerExecute(gt_ObjectiveHoldOutComplete, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:5126
UnitCreate(1, "Marine", 0, gv_p01_USER, RegionRandomPoint(RegionFromId(64)), libNtve_gf_RandomAngle());
UnitGroupAdd(gv_victoryMarines, UnitLastCreated());
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
}
for (auto407E93C5_i = 1; auto407E93C5_i <= auto407E93C5_n; auto407E93C5_i += 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:5131
UnitCreate(1, "Medic", 0, gv_p01_USER, RegionRandomPoint(RegionFromId(66)), libNtve_gf_RandomAngle());
UnitGroupAdd(gv_victoryMarines, UnitLastCreated());
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
}
TriggerSkippableBegin(PlayerGroupSingle(gv_p01_USER), 0, null, true, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2102
auto2ABD4060_var = UnitGroupUnitFromEnd(auto2ABD4060_g, auto2ABD4060_u);
if (auto2ABD4060_var == null) { break; }
libNtve_gf_ChangeUnitDamage(auto2ABD4060_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
}
SoundPlayAtPoint(SoundLink("Doodad_ArtifactShrine_Deactivate", -1), PlayerGroupAll(), UnitGetPosition(gv_artifact), 0.0, 100.0, 0.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:4329
}
libNtve_gf_ChangeUnitDamage(gv_tHEONEDRILL, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(EventUnit()), c_animNameDefault, "Stand D End", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);
libNtve_gf_ShowHideBossBar(false, gv_templeDoorBossBar);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:4429
PlayerModifyPropertyInt(autoB29F918D_var, c_playerPropVespene, c_playerPropOperSetTo, 0);
}
libNtve_gf_ChangeUnitDamage(gv_tHEONEDOOR, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
lv_location = UnitGetPosition(gv_tHEONEDRILL);
lv_facing = UnitGetFacing(gv_tHEONEDRILL);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:2574
}
libNtve_gf_ChangeUnitDamage(gv_uNITDaMothership, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
UnitIssueOrder(gv_uNITDaMothership, OrderTargetingPoint(AbilityCommand("WormholeTransit", 0), RegionRandomPoint(RegionFromId(20))), c_orderQueueReplace);
Wait(2.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:2577
UnitIssueOrder(gv_uNITDaMothership, OrderTargetingPoint(AbilityCommand("WormholeTransit", 0), RegionRandomPoint(RegionFromId(20))), c_orderQueueReplace);
Wait(2.0, c_timeGame);
libNtve_gf_ChangeUnitDamage(gv_uNITDaMothership, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:2613
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_ChangeUnitDamage(gv_uNITDaMothership, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
AISetUnitScriptControlled(gv_uNITDaMothership, true);
UnitIssueOrder(gv_uNITDaMothership, OrderTargetingPoint(AbilityCommand("WormholeTransit", 0), RegionRandomPoint(RegionFromId(20))), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:2617
UnitIssueOrder(gv_uNITDaMothership, OrderTargetingPoint(AbilityCommand("WormholeTransit", 0), RegionRandomPoint(RegionFromId(20))), c_orderQueueReplace);
Wait(2.0, c_timeGame);
libNtve_gf_ChangeUnitDamage(gv_uNITDaMothership, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
Wait(5.0, c_timeGame);
AISetUnitScriptControlled(gv_uNITDaMothership, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:2655
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_ChangeUnitDamage(gv_uNITDaMothership, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
AISetUnitScriptControlled(gv_uNITDaMothership, true);
UnitIssueOrder(gv_uNITDaMothership, OrderTargetingPoint(AbilityCommand("WormholeTransit", 0), RegionRandomPoint(RegionFromId(20))), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:2659
UnitIssueOrder(gv_uNITDaMothership, OrderTargetingPoint(AbilityCommand("WormholeTransit", 0), RegionRandomPoint(RegionFromId(20))), c_orderQueueReplace);
Wait(2.0, c_timeGame);
libNtve_gf_ChangeUnitDamage(gv_uNITDaMothership, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
Wait(5.0, c_timeGame);
AISetUnitScriptControlled(gv_uNITDaMothership, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:3468
autoFC32028A_var = UnitGroupUnitFromEnd(autoFC32028A_g, autoFC32028A_u);
if (autoFC32028A_var == null) { break; }
libNtve_gf_ChangeUnitDamage(autoFC32028A_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
}
TriggerExecute(gt_CinematicFinishedHoldout1Q, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:5374
auto49807F1C_var = UnitGroupUnitFromEnd(auto49807F1C_g, auto49807F1C_u);
if (auto49807F1C_var == null) { break; }
libNtve_gf_ChangeUnitDamage(auto49807F1C_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
}
TriggerExecute(gt_MidBroodChamber2Q, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:7450
auto1B452B0B_var = UnitGroupUnitFromEnd(auto1B452B0B_g, auto1B452B0B_u);
if (auto1B452B0B_var == null) { break; }
libNtve_gf_ChangeUnitDamage(auto1B452B0B_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
}
Wait(2.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:9806
UnitSetOwner(gv__1BroodchamberNuke, gv_p1_USER, true);
libNtve_gf_ShowHideUnit(gv__1BroodchamberNuke, true);
libNtve_gf_ChangeUnitDamage(gv__1BroodchamberNuke, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv__1BroodchamberNuke), c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
libNtve_gf_MakeUnitInvulnerable(gv__1BroodchamberNuke, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:10045
if (auto0A2AAA69_var == null) { break; }
libNtve_gf_ShowHideUnit(auto0A2AAA69_var, true);
libNtve_gf_ChangeUnitDamage(auto0A2AAA69_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
libNtve_gf_MakeUnitInvulnerable(auto0A2AAA69_var, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:10533
UnitSetOwner(gv__2BroodchamberNuke, gv_p1_USER, true);
libNtve_gf_ShowHideUnit(gv__2BroodchamberNuke, true);
libNtve_gf_ChangeUnitDamage(gv__2BroodchamberNuke, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv__2BroodchamberNuke), c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
libNtve_gf_MakeUnitInvulnerable(gv__2BroodchamberNuke, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:10594
libNtve_gf_UnitCreateFacingPoint(1, UnitGetType(auto5C4AD78F_var), 0, gv_p1_USER, RegionRandomPoint(RegionFromId(133)), PointFromId(2223));
UnitGroupAdd(gv_cinematicReinforcements, UnitLastCreated());
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(UnitLastCreated()), 5.0, AngleBetweenPoints(UnitGetPosition(UnitLastCreated()), PointFromId(2223)))), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:10839
libNtve_gf_ShowHideUnit(auto7651948C_var, true);
libNtve_gf_MakeUnitInvulnerable(auto7651948C_var, false);
libNtve_gf_ChangeUnitDamage(auto7651948C_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
}
gf_ResetHeroCooldowns();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:11410
auto5E71AC3A_var = UnitGroupUnitFromEnd(auto5E71AC3A_g, auto5E71AC3A_u);
if (auto5E71AC3A_var == null) { break; }
libNtve_gf_ChangeUnitDamage(auto5E71AC3A_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
UnitIssueOrder(auto5E71AC3A_var, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
UnitSetPropertyFixed(auto5E71AC3A_var, c_unitPropLifePercent, 100.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:11525
if (lv_chosenUnit == null) { break; }
libNtve_gf_ShowHideUnit(lv_chosenUnit, false);
libNtve_gf_ChangeUnitDamage(lv_chosenUnit, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
}
auto7905C978_g = UnitGroup(null, c_playerAny, RegionFromId(14), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:5518
UnitRemove(UnitFromId(513));
UnitRemove(UnitFromId(286));
libNtve_gf_ChangeUnitDamage(UnitFromId(29), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_CreateUnitsAtPoint2(1, "Banshee", 0, gv_pLAYER_P01_USER, PointFromId(1138));
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1181)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:4416
gv_gameOver = true;
libNtve_gf_ChangeUnitDamage(gv_artifact, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
TriggerQueueClear(c_triggerQueueRetain);
TriggerExecute(gt_ObjectiveArtifactComplete, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:4502
BoardShowAll(false, PlayerGroupAll());
libNtve_gf_HideScreenButton(false, 1);
libNtve_gf_ChangeUnitDamage(gv_artifact, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
TriggerQueueClear(c_triggerQueueRetain);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:9912
libNtve_gf_CreateUnitsAtPoint2(1, "VoidSeeker", 0, gv_p2_ALLIED, PointFromId(380));
lv_victoryVoidSeeker = UnitLastCreated();
libNtve_gf_ChangeUnitDamage(lv_victoryVoidSeeker, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
UnitIssueOrder(lv_victoryVoidSeeker, Order(AbilityCommand("PsytrousOxide", 0)), c_orderQueueReplace);
UnitIssueOrder(lv_victoryVoidSeeker, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1744)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:500
autoF1102D1B_var = UnitGroupUnitFromEnd(autoF1102D1B_g, autoF1102D1B_u);
if (autoF1102D1B_var == null) { break; }
libNtve_gf_ChangeUnitDamage(autoF1102D1B_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
UnitSetState(autoF1102D1B_var, c_unitStateTargetable, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:2848
PingDestroy(gv_beaconPingZerglings);
TriggerExecute(gt_ObjectiveOvermindTendrilsUpdateQ, true, true);
libNtve_gf_ChangeUnitDamage(UnitFromId(85), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
UnitKill(UnitFromId(85));
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:2911
PingDestroy(gv_beaconPingMutalisks);
TriggerExecute(gt_ObjectiveOvermindTendrilsUpdateQ, true, true);
libNtve_gf_ChangeUnitDamage(UnitFromId(97), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
UnitKill(UnitFromId(97));
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:2974
PingDestroy(gv_beaconPingLurkers);
TriggerExecute(gt_ObjectiveOvermindTendrilsUpdateQ, true, true);
libNtve_gf_ChangeUnitDamage(UnitFromId(84), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
UnitKill(UnitFromId(84));
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:3037
PingDestroy(gv_beaconPingBanelings);
TriggerExecute(gt_ObjectiveOvermindTendrilsUpdateQ, true, true);
libNtve_gf_ChangeUnitDamage(UnitFromId(103), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
UnitKill(UnitFromId(103));
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:5781
if (auto0F0F1029_var == null) { break; }
UnitSetOwner(auto0F0F1029_var, gv_p4_COLONISTS, true);
libNtve_gf_ChangeUnitDamage(auto0F0F1029_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
}
auto819CA525_g = UnitGroup("Marine", 1, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:4990
UnitSetOwner(UnitFromId(7), gv_pLAYER_02_REFUGEES, true);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(653));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(376));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:4992
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(376));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(484));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:4994
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(484));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(498));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:4996
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(498));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Firebat", 0, gv_pLAYER_02_REFUGEES, PointFromId(863));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:4998
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Firebat", 0, gv_pLAYER_02_REFUGEES, PointFromId(863));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Firebat", 0, gv_pLAYER_02_REFUGEES, PointFromId(864));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:5000
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Firebat", 0, gv_pLAYER_02_REFUGEES, PointFromId(864));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Medic", 0, gv_pLAYER_02_REFUGEES, PointFromId(866));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:5002
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Medic", 0, gv_pLAYER_02_REFUGEES, PointFromId(866));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Medic", 0, gv_pLAYER_02_REFUGEES, PointFromId(865));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:5004
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
libNtve_gf_CreateUnitsAtPoint2(1, "Medic", 0, gv_pLAYER_02_REFUGEES, PointFromId(865));
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
TriggerExecute(gt_BriefingScene03BaseDefense, true, false);
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(471), 0.0, -1, 10, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:5270
gv_gameOver = true;
libNtve_gf_ShowHideBossBar(false, gv_purifierBossBar);
libNtve_gf_ChangeUnitDamage(UnitFromId(2722), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_ChangeUnitDamage(UnitFromId(1678), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_ChangeUnitDamage(UnitFromId(1594), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:5271
libNtve_gf_ShowHideBossBar(false, gv_purifierBossBar);
libNtve_gf_ChangeUnitDamage(UnitFromId(2722), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_ChangeUnitDamage(UnitFromId(1678), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_ChangeUnitDamage(UnitFromId(1594), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
TriggerExecute(gt_ObjectiveDestroyPurifierComplete, true, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:5272
libNtve_gf_ChangeUnitDamage(UnitFromId(2722), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_ChangeUnitDamage(UnitFromId(1678), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_ChangeUnitDamage(UnitFromId(1594), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
TriggerExecute(gt_ObjectiveDestroyPurifierComplete, true, true);
libCamp_gf_RunMissionVictorySequence(gt_VictoryQ);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2map — MapScript.galaxy:4492
gv_gameOver = true;
PingDestroy(gv_orlansFortressPing);
libNtve_gf_ChangeUnitDamage(UnitFromId(90), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
TriggerExecute(gt_ObjectiveBuyContractComplete, true, true);
TriggerExecute(gt_ObjectiveDestroyOrlanComplete, true, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:3207
TriggerEnable(gt_TransmissionTychusNoticesRaynorsUnitsQ, false);
libNtve_gf_ChangeUnitDamage(UnitFromId(2), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
VisRevealArea(gv_p01_USER, RegionFromId(20), 0.0, false);
VisRevealArea(gv_p02_TYCHUS, RegionFromId(20), 0.0, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:5500
libNtve_gf_PauseUnit(UnitFromId(4), false);
libNtve_gf_MakeUnitInvulnerable(UnitFromId(341), false);
libNtve_gf_ChangeUnitDamage(UnitFromId(341), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:2579
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_ChangeUnitDamage(gv_odin, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
TriggerEnable(gt_OdinDiesMovetoStage2, false);
TransmissionClear(gv_hornerTimeWarning);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:6763
if ((gv_odinDead == false)) {
libNtve_gf_ShowHideUnit(gv_odin, true);
libNtve_gf_ChangeUnitDamage(gv_odin, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
UnitSetPosition(UnitFromId(1), PointFromId(19), false);
libNtve_gf_MakeUnitFacePoint(gv_odin, PointFromId(1480), 0.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:8173
UnitSetTeamColorIndex(gv_hercules, 1);
UnitSetState(gv_hercules, c_unitStateTargetable, false);
libNtve_gf_ChangeUnitDamage(gv_hercules, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
ObjectiveShow(gv_objectiveEscape, PlayerGroupAll(), true);
ObjectiveShow(gv_objectiveRaynorSurvive, PlayerGroupAll(), true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:4117
TriggerEnable(TriggerGetCurrent(), false);
gv_gameOver = true;
libNtve_gf_ChangeUnitDamage(gv_raynor, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
CameraPan(gv_p1_USER, PointFromId(2439), 2.0, -1, 20, false);
Wait(2.0, c_timeReal);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2map — MapScript.galaxy:4251
if (auto78DDF86E_var == null) { break; }
UnitBehaviorRemove(auto78DDF86E_var, "TerranBuildingBurnDown", 1);
libNtve_gf_ChangeUnitDamage(auto78DDF86E_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
}
TriggerExecute(gt_ObjectiveHoldOutComplete, true, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2map — MapScript.galaxy:5126
UnitCreate(1, "Marine", 0, gv_p01_USER, RegionRandomPoint(RegionFromId(64)), libNtve_gf_RandomAngle());
UnitGroupAdd(gv_victoryMarines, UnitLastCreated());
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
}
for (auto407E93C5_i = 1; auto407E93C5_i <= auto407E93C5_n; auto407E93C5_i += 1) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2map — MapScript.galaxy:5131
UnitCreate(1, "Medic", 0, gv_p01_USER, RegionRandomPoint(RegionFromId(66)), libNtve_gf_RandomAngle());
UnitGroupAdd(gv_victoryMarines, UnitLastCreated());
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
}
TriggerSkippableBegin(PlayerGroupSingle(gv_p01_USER), 0, null, true, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2map — MapScript.galaxy:2102
auto2ABD4060_var = UnitGroupUnitFromEnd(auto2ABD4060_g, auto2ABD4060_u);
if (auto2ABD4060_var == null) { break; }
libNtve_gf_ChangeUnitDamage(auto2ABD4060_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
}
SoundPlayAtPoint(SoundLink("Doodad_ArtifactShrine_Deactivate", -1), PlayerGroupAll(), UnitGetPosition(gv_artifact), 0.0, 100.0, 0.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:4329
}
libNtve_gf_ChangeUnitDamage(gv_tHEONEDRILL, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(EventUnit()), c_animNameDefault, "Stand D End", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);
libNtve_gf_ShowHideBossBar(false, gv_templeDoorBossBar);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:4429
PlayerModifyPropertyInt(autoB29F918D_var, c_playerPropVespene, c_playerPropOperSetTo, 0);
}
libNtve_gf_ChangeUnitDamage(gv_tHEONEDOOR, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
lv_location = UnitGetPosition(gv_tHEONEDRILL);
lv_facing = UnitGetFacing(gv_tHEONEDRILL);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:2574
}
libNtve_gf_ChangeUnitDamage(gv_uNITDaMothership, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
UnitIssueOrder(gv_uNITDaMothership, OrderTargetingPoint(AbilityCommand("WormholeTransit", 0), RegionRandomPoint(RegionFromId(20))), c_orderQueueReplace);
Wait(2.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:2577
UnitIssueOrder(gv_uNITDaMothership, OrderTargetingPoint(AbilityCommand("WormholeTransit", 0), RegionRandomPoint(RegionFromId(20))), c_orderQueueReplace);
Wait(2.0, c_timeGame);
libNtve_gf_ChangeUnitDamage(gv_uNITDaMothership, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:2613
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_ChangeUnitDamage(gv_uNITDaMothership, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
AISetUnitScriptControlled(gv_uNITDaMothership, true);
UnitIssueOrder(gv_uNITDaMothership, OrderTargetingPoint(AbilityCommand("WormholeTransit", 0), RegionRandomPoint(RegionFromId(20))), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:2617
UnitIssueOrder(gv_uNITDaMothership, OrderTargetingPoint(AbilityCommand("WormholeTransit", 0), RegionRandomPoint(RegionFromId(20))), c_orderQueueReplace);
Wait(2.0, c_timeGame);
libNtve_gf_ChangeUnitDamage(gv_uNITDaMothership, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
Wait(5.0, c_timeGame);
AISetUnitScriptControlled(gv_uNITDaMothership, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:2655
TriggerEnable(TriggerGetCurrent(), false);
libNtve_gf_ChangeUnitDamage(gv_uNITDaMothership, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
AISetUnitScriptControlled(gv_uNITDaMothership, true);
UnitIssueOrder(gv_uNITDaMothership, OrderTargetingPoint(AbilityCommand("WormholeTransit", 0), RegionRandomPoint(RegionFromId(20))), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:2659
UnitIssueOrder(gv_uNITDaMothership, OrderTargetingPoint(AbilityCommand("WormholeTransit", 0), RegionRandomPoint(RegionFromId(20))), c_orderQueueReplace);
Wait(2.0, c_timeGame);
libNtve_gf_ChangeUnitDamage(gv_uNITDaMothership, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
Wait(5.0, c_timeGame);
AISetUnitScriptControlled(gv_uNITDaMothership, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:3468
autoFC32028A_var = UnitGroupUnitFromEnd(autoFC32028A_g, autoFC32028A_u);
if (autoFC32028A_var == null) { break; }
libNtve_gf_ChangeUnitDamage(autoFC32028A_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
}
TriggerExecute(gt_CinematicFinishedHoldout1Q, true, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:5374
auto49807F1C_var = UnitGroupUnitFromEnd(auto49807F1C_g, auto49807F1C_u);
if (auto49807F1C_var == null) { break; }
libNtve_gf_ChangeUnitDamage(auto49807F1C_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
}
TriggerExecute(gt_MidBroodChamber2Q, true, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:7450
auto1B452B0B_var = UnitGroupUnitFromEnd(auto1B452B0B_g, auto1B452B0B_u);
if (auto1B452B0B_var == null) { break; }
libNtve_gf_ChangeUnitDamage(auto1B452B0B_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
}
Wait(2.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:9806
UnitSetOwner(gv__1BroodchamberNuke, gv_p1_USER, true);
libNtve_gf_ShowHideUnit(gv__1BroodchamberNuke, true);
libNtve_gf_ChangeUnitDamage(gv__1BroodchamberNuke, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv__1BroodchamberNuke), c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
libNtve_gf_MakeUnitInvulnerable(gv__1BroodchamberNuke, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:10045
if (auto0A2AAA69_var == null) { break; }
libNtve_gf_ShowHideUnit(auto0A2AAA69_var, true);
libNtve_gf_ChangeUnitDamage(auto0A2AAA69_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
libNtve_gf_MakeUnitInvulnerable(auto0A2AAA69_var, false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:10533
UnitSetOwner(gv__2BroodchamberNuke, gv_p1_USER, true);
libNtve_gf_ShowHideUnit(gv__2BroodchamberNuke, true);
libNtve_gf_ChangeUnitDamage(gv__2BroodchamberNuke, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv__2BroodchamberNuke), c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
libNtve_gf_MakeUnitInvulnerable(gv__2BroodchamberNuke, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:10594
libNtve_gf_UnitCreateFacingPoint(1, UnitGetType(auto5C4AD78F_var), 0, gv_p1_USER, RegionRandomPoint(RegionFromId(133)), PointFromId(2223));
UnitGroupAdd(gv_cinematicReinforcements, UnitLastCreated());
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(UnitLastCreated()), 5.0, AngleBetweenPoints(UnitGetPosition(UnitLastCreated()), PointFromId(2223)))), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:10839
libNtve_gf_ShowHideUnit(auto7651948C_var, true);
libNtve_gf_MakeUnitInvulnerable(auto7651948C_var, false);
libNtve_gf_ChangeUnitDamage(auto7651948C_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
}
gf_ResetHeroCooldowns();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:11410
auto5E71AC3A_var = UnitGroupUnitFromEnd(auto5E71AC3A_g, auto5E71AC3A_u);
if (auto5E71AC3A_var == null) { break; }
libNtve_gf_ChangeUnitDamage(auto5E71AC3A_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
UnitIssueOrder(auto5E71AC3A_var, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
UnitSetPropertyFixed(auto5E71AC3A_var, c_unitPropLifePercent, 100.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2map — MapScript.galaxy:11525
if (lv_chosenUnit == null) { break; }
libNtve_gf_ShowHideUnit(lv_chosenUnit, false);
libNtve_gf_ChangeUnitDamage(lv_chosenUnit, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
}
auto7905C978_g = UnitGroup(null, c_playerAny, RegionFromId(14), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:5518
UnitRemove(UnitFromId(513));
UnitRemove(UnitFromId(286));
libNtve_gf_ChangeUnitDamage(UnitFromId(29), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
libNtve_gf_CreateUnitsAtPoint2(1, "Banshee", 0, gv_pLAYER_P01_USER, PointFromId(1138));
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1181)), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2map — MapScript.galaxy:4416
gv_gameOver = true;
libNtve_gf_ChangeUnitDamage(gv_artifact, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
TriggerQueueClear(c_triggerQueueRetain);
TriggerExecute(gt_ObjectiveArtifactComplete, true, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2map — MapScript.galaxy:4502
BoardShowAll(false, PlayerGroupAll());
libNtve_gf_HideScreenButton(false, 1);
libNtve_gf_ChangeUnitDamage(gv_artifact, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
TriggerQueueClear(c_triggerQueueRetain);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:9912
libNtve_gf_CreateUnitsAtPoint2(1, "VoidSeeker", 0, gv_p2_ALLIED, PointFromId(380));
lv_victoryVoidSeeker = UnitLastCreated();
libNtve_gf_ChangeUnitDamage(lv_victoryVoidSeeker, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
UnitIssueOrder(lv_victoryVoidSeeker, Order(AbilityCommand("PsytrousOxide", 0)), c_orderQueueReplace);
UnitIssueOrder(lv_victoryVoidSeeker, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1744)), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:500
autoF1102D1B_var = UnitGroupUnitFromEnd(autoF1102D1B_g, autoF1102D1B_u);
if (autoF1102D1B_var == null) { break; }
libNtve_gf_ChangeUnitDamage(autoF1102D1B_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
UnitSetState(autoF1102D1B_var, c_unitStateTargetable, false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:2848
PingDestroy(gv_beaconPingZerglings);
TriggerExecute(gt_ObjectiveOvermindTendrilsUpdateQ, true, true);
libNtve_gf_ChangeUnitDamage(UnitFromId(85), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
UnitKill(UnitFromId(85));
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:2911
PingDestroy(gv_beaconPingMutalisks);
TriggerExecute(gt_ObjectiveOvermindTendrilsUpdateQ, true, true);
libNtve_gf_ChangeUnitDamage(UnitFromId(97), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
UnitKill(UnitFromId(97));
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:2974
PingDestroy(gv_beaconPingLurkers);
TriggerExecute(gt_ObjectiveOvermindTendrilsUpdateQ, true, true);
libNtve_gf_ChangeUnitDamage(UnitFromId(84), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
UnitKill(UnitFromId(84));
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:3037
PingDestroy(gv_beaconPingBanelings);
TriggerExecute(gt_ObjectiveOvermindTendrilsUpdateQ, true, true);
libNtve_gf_ChangeUnitDamage(UnitFromId(103), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
UnitKill(UnitFromId(103));
return true;