# Add Behavior
Grammar — Add inCount inBehavior to inUnit from inCaster
Flags —Native
|Action
Adds a behavior to the specified unit setting the casting unit to the specified caster.
# Arguments
unit
— Unitstring
<gamelink::Behavior> — Behaviorunit
— Casterint
— Count
Returns — void
native void UnitBehaviorAdd(
unit inUnit,
string inBehavior,
unit inCaster,
int inCount,
);
# Related
Category: Behavior / Basic
- Remove Behaviors By Category —
void
— UnitBehaviorRemoveCategory - Remove Behavior (Player) —
void
— UnitBehaviorRemovePlayer - Remove Behavior —
void
— UnitBehaviorRemove - Add Behavior (Player) —
void
— UnitBehaviorAddPlayer - Add Behavior —
void
— UnitBehaviorAdd - Set Behavior Count —
void
— libNtve_gf_SetBehaviorCount - Number Of Behaviors On Unit —
int
— UnitBehaviorCountAll - Unit Behavior —
string
<gamelink::Behavior> — UnitBehaviorGet - Unit Has Behavior —
bool
— UnitHasBehavior2 - Unit Has Behavior (Enabled) —
bool
— UnitHasBehavior - Unit Behavior Enabled —
bool
— UnitBehaviorEnabled - Stack Count Of Behavior On Unit —
int
— UnitBehaviorCount - Behavior Has Flag —
bool
— UnitBehaviorHasFlag - Transfer Behavior —
void
— UnitBehaviorTransfer - Set Unit Behavior Duration —
void
— UnitBehaviorSetDuration - Set Unit Behavior Duration Remaining —
void
— UnitBehaviorSetDurationRemaining - Duration Remaining Of Behavior On Unit —
fixed
— UnitBehaviorDuration - Duration Of Behavior On Unit —
fixed
— UnitBehaviorDurationTotal - Set Unit Behavior Spawn Count —
void
— UnitBehaviorSpawn - Unit Behavior Effect Player —
int
— UnitBehaviorEffectPlayer - Unit Behavior Effect Unit —
unit
— UnitBehaviorEffectUnit - Set Unit Behavior User Data —
void
— UnitBehaviorEffectTreeSetUserData - User Data Of Behavior On Unit —
fixed
— UnitBehaviorEffectTreeUserData - User Data Of Behavior On Unit Exists —
bool
— UnitBehaviorEffectTreeUserDataExists - Unit Behavior Changes —
void
— TriggerAddEventUnitBehaviorChange - Unit Behavior Changes From Category —
void
— TriggerAddEventUnitBehaviorChangeFromCategory - Triggering Behavior —
string
<gamelink::Behavior> — EventUnitBehavior - Triggering Behavior Change —
int
<preset::BehaviorChange> — EventUnitBehaviorChange - Unit Behavior Damage Modify Remaining —
fixed
— UnitBehaviorDamageModifyRemaining - Unit Behavior Damage Modify Limit —
fixed
— UnitBehaviorDamageModifyLimit - For Each Behavior On Unit — macro
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:1834
void gf_TerraTronArmAttackInToOut () {
// Implementation
UnitBehaviorAdd(gv_boss, "SS_TerraTronStun", gv_boss, 1);
gv_terraTronPosition = UnitGetPosition(gv_boss);
libNtve_gf_SendActorMessageToUnit(gv_boss, "AnimBracketStart ArmAttack Stand,Work,Start,B Stand,Work,B Stand,Work,End,B ContentPlayOnce");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:1943
void gf_TerraTronArmAttackOutToIn () {
// Implementation
UnitBehaviorAdd(gv_boss, "SS_TerraTronStun", gv_boss, 1);
gv_terraTronPosition = UnitGetPosition(gv_boss);
libNtve_gf_SendActorMessageToUnit(gv_boss, "AnimBracketStart ArmAttack Stand,Work,Start,A Stand,Work,A Stand,Work,End,A ContentPlayOnce");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2052
void gf_TerraTronArmAttackLeftToRight () {
// Implementation
UnitBehaviorAdd(gv_boss, "SS_TerraTronStun", gv_boss, 1);
gv_terraTronPosition = UnitGetPosition(gv_boss);
libNtve_gf_SendActorMessageToUnit(gv_boss, "AnimBracketStart ArmAttack Stand,Work,Start,E Stand,Work,E Stand,Work,End,E ContentPlayOnce");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2161
void gf_TerraTronArmAttackRightToLeft () {
// Implementation
UnitBehaviorAdd(gv_boss, "SS_TerraTronStun", gv_boss, 1);
gv_terraTronPosition = UnitGetPosition(gv_boss);
libNtve_gf_SendActorMessageToUnit(gv_boss, "AnimBracketStart ArmAttack Stand,Work,Start,F Stand,Work,F Stand,Work,End,F ContentPlayOnce");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2356
gv_missileSpinnerL = UnitLastCreated();
if ((gv_repeatTimes > 0)) {
UnitBehaviorAdd(gv_missileSpinnerL, "SS_StrongerEnemyBuff", gv_missileSpinnerL, gv_repeatTimes);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2369
gv_missileSpinnerR = UnitLastCreated();
if ((gv_repeatTimes > 0)) {
UnitBehaviorAdd(gv_missileSpinnerR, "SS_StrongerEnemyBuff", gv_missileSpinnerR, gv_repeatTimes);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2729
UnitSetState(lp_unit, c_unitStateTargetable, false);
UnitSetPropertyFixed(lp_unit, c_unitPropHeight, gv_c_PlaneHeight);
UnitBehaviorAdd(lp_unit, "SS_MaxAcceleration", lp_unit, 1);
autoF95A9D70_ae = gv_levelWavePlaneTypeCount[(gv_levelCurrent)];
autoF95A9D70_ai = 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2750
else {
}
UnitBehaviorAdd(UnitLastCreated(), "SS_MobSpawnInvulnerable", UnitLastCreated(), 1);
if ((gv_repeatTimes > 0)) {
UnitBehaviorAdd(UnitLastCreated(), "SS_StrongerEnemyBuff", UnitLastCreated(), gv_repeatTimes);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2752
UnitBehaviorAdd(UnitLastCreated(), "SS_MobSpawnInvulnerable", UnitLastCreated(), 1);
if ((gv_repeatTimes > 0)) {
UnitBehaviorAdd(UnitLastCreated(), "SS_StrongerEnemyBuff", UnitLastCreated(), gv_repeatTimes);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4713
gv_boss = UnitLastCreated();
if ((gv_repeatTimes > 0)) {
UnitBehaviorAdd(gv_boss, "SS_StrongerEnemyBuff", gv_boss, gv_repeatTimes);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:325
}
AISetUnitForceMover(UnitCargoLastCreated(),true);
UnitBehaviorAdd(UnitCargoLastCreated(), "Hustle", UnitCargoLastCreated(), 1);
UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, true);
if ((UnitIsAlive(gv_tHEONETRUCK) == true)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:668
autoB1ABC5AB_var = UnitGroupUnitFromEnd(autoB1ABC5AB_g, autoB1ABC5AB_u);
if (autoB1ABC5AB_var == null) { break; }
UnitBehaviorAdd(autoB1ABC5AB_var, "BroodlingWander", autoB1ABC5AB_var, 1);
}
autoD5F69E5E_g = UnitGroup(null, gv_p6_ZERG_NOAIPREPLACED, RegionFromId(18), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:675
autoD5F69E5E_var = UnitGroupUnitFromEnd(autoD5F69E5E_g, autoD5F69E5E_u);
if (autoD5F69E5E_var == null) { break; }
UnitBehaviorAdd(autoD5F69E5E_var, "BroodlingWander", autoD5F69E5E_var, 1);
}
TriggerExecute(gt_MarineConstantRespawn, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1329
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(8)), c_orderQueueAddToEnd);
UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
UnitBehaviorAdd(UnitLastCreated(), "Hustle", UnitLastCreated(), 1);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLife, 15.0);
UnitIssueOrder(UnitFromId(2155), OrderTargetingUnit(AbilityCommand("attack", 0), UnitLastCreated()), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5797
UnitSetOwner(auto2D98D8C8_var, gv_p4_COLONISTS, true);
UnitSetPropertyFixed(auto2D98D8C8_var, c_unitPropLife, 1.0);
UnitBehaviorAdd(auto2D98D8C8_var, "Hustle", auto2D98D8C8_var, 1);
}
auto85C6499E_g = UnitGroup("CivilianFemale", 1, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5806
UnitSetOwner(auto85C6499E_var, gv_p4_COLONISTS, true);
UnitSetPropertyFixed(auto85C6499E_var, c_unitPropLife, 1.0);
UnitBehaviorAdd(auto85C6499E_var, "Hustle", auto85C6499E_var, 1);
}
auto852CA24B_g = UnitGroup("ColonistTransport", 1, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5822
if (auto9597CF2B_var == null) { break; }
UnitSetOwner(auto9597CF2B_var, gv_p2_ZERG_ORANGE_NW, true);
UnitBehaviorAdd(auto9597CF2B_var, "ScanRangeBonus", auto9597CF2B_var, 1);
}
autoA279A10E_g = UnitGroup("ZerglingBurrowed", 1, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5830
if (autoA279A10E_var == null) { break; }
UnitSetOwner(autoA279A10E_var, gv_p2_ZERG_ORANGE_NW, true);
UnitBehaviorAdd(autoA279A10E_var, "ScanRangeBonus", autoA279A10E_var, 1);
}
autoBCAD920A_g = UnitGroup("Hydralisk", 1, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5838
if (autoBCAD920A_var == null) { break; }
UnitSetOwner(autoBCAD920A_var, gv_p2_ZERG_ORANGE_NW, true);
UnitBehaviorAdd(autoBCAD920A_var, "ScanRangeBonus", autoBCAD920A_var, 1);
}
auto62F96B4D_g = UnitGroup("Mutalisk", 1, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5846
if (auto62F96B4D_var == null) { break; }
UnitSetOwner(auto62F96B4D_var, gv_p2_ZERG_ORANGE_NW, true);
UnitBehaviorAdd(auto62F96B4D_var, "ScanRangeBonus", auto62F96B4D_var, 1);
}
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1634
lv_u = UnitGroupUnitFromEnd(auto17484C82_g, auto17484C82_u);
if (lv_u == null) { break; }
UnitBehaviorAdd(lv_u, "SolarCombustion", lv_u, 1);
UnitGroupRemove(lv_doomedUnits, lv_u);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2151
auto2558A625_var = UnitGroupUnitFromEnd(auto2558A625_g, auto2558A625_u);
if (auto2558A625_var == null) { break; }
UnitBehaviorAdd(auto2558A625_var, "BroodlingFate", auto2558A625_var, 1);
UnitSetPropertyFixed(auto2558A625_var, c_unitPropMovementSpeed, 2.5);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4832
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(1832), (SoundLengthSync(SoundLink("THanson02BriefingRaynor00007", 0)) + 0.0), -1, 10, true);
MovieStartRecording("Briefing_Video_THanson02_05");
UnitBehaviorAdd(UnitFromId(14), "ColonyInfestation", gv_mainInfestor, 1);
// Transmission - SoundLink("THanson02BriefingRaynor00007", -1)
SoundPlay(SoundLink("THanson02BriefingRaynor00007", 0), PlayerGroupAll(), 100.0, 0.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4836
SoundPlay(SoundLink("THanson02BriefingRaynor00007", 0), PlayerGroupAll(), 100.0, 0.0);
Wait((0.1 * SoundLengthSync(SoundLink("THanson02BriefingRaynor00007", 0))), c_timeReal);
UnitBehaviorAdd(UnitFromId(57), "ColonyInfestation", gv_mainInfestor, 1);
Wait((0.1 * SoundLengthSync(SoundLink("THanson02BriefingRaynor00007", 0))), c_timeReal);
UnitBehaviorAdd(UnitFromId(78), "ColonyInfestation", gv_mainInfestor, 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4838
UnitBehaviorAdd(UnitFromId(57), "ColonyInfestation", gv_mainInfestor, 1);
Wait((0.1 * SoundLengthSync(SoundLink("THanson02BriefingRaynor00007", 0))), c_timeReal);
UnitBehaviorAdd(UnitFromId(78), "ColonyInfestation", gv_mainInfestor, 1);
Wait((0.8 * SoundLengthSync(SoundLink("THanson02BriefingRaynor00007", 0))), c_timeReal);
Wait((0.5 * SoundLengthSync(SoundLink("THanson02BriefingRaynor00007", 0))), c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4955
while ((UnitGroupCount(lv_tempUnitGroup, c_unitCountAlive) >= 1)) {
lv_randomUnit = UnitGroupRandomUnit(lv_tempUnitGroup, c_unitCountAlive);
UnitBehaviorAdd(lv_randomUnit, "SolarCombustion", lv_randomUnit, 1);
UnitGroupRemove(lv_tempUnitGroup, lv_randomUnit);
Wait(0.15, c_timeReal);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:5039
Wait(3.0, c_timeGame);
UnitBehaviorAdd(UnitFromId(35), "ColonyInfestation", gv_mainInfestor, 1);
Wait(0.75, c_timeGame);
UnitBehaviorAdd(UnitFromId(488), "ColonyInfestation", gv_mainInfestor, 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:5041
UnitBehaviorAdd(UnitFromId(35), "ColonyInfestation", gv_mainInfestor, 1);
Wait(0.75, c_timeGame);
UnitBehaviorAdd(UnitFromId(488), "ColonyInfestation", gv_mainInfestor, 1);
Wait(0.8, c_timeGame);
UnitBehaviorAdd(UnitFromId(629), "ColonyInfestation", gv_mainInfestor, 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:5043
UnitBehaviorAdd(UnitFromId(488), "ColonyInfestation", gv_mainInfestor, 1);
Wait(0.8, c_timeGame);
UnitBehaviorAdd(UnitFromId(629), "ColonyInfestation", gv_mainInfestor, 1);
Wait(1.25, c_timeGame);
UnitBehaviorAdd(UnitFromId(489), "ColonyInfestation", gv_mainInfestor, 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:5045
UnitBehaviorAdd(UnitFromId(629), "ColonyInfestation", gv_mainInfestor, 1);
Wait(1.25, c_timeGame);
UnitBehaviorAdd(UnitFromId(489), "ColonyInfestation", gv_mainInfestor, 1);
Wait(0.8, c_timeGame);
UnitBehaviorAdd(UnitFromId(487), "ColonyInfestation", gv_mainInfestor, 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:618
UnitSetPropertyFixed(gv_purifier, c_unitPropMovementSpeed, 0.35);
if ((libNtve_gf_DifficultyValueInt(0, 0, 0, 1) == 1)) {
UnitBehaviorAdd(gv_purifier, "Detector12", gv_purifier, 1);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1168
libNtve_gf_ShowHideUnit(gv_purifier, true);
libNtve_gf_PauseUnit(gv_purifier, false);
UnitBehaviorAdd(gv_purifier, "InvulnerabilityShield", gv_purifier, 1);
libNtve_gf_AttachModelToUnit(gv_purifier, "MothershipTeleportOut", "Ref_Center");
Wait(2.666, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1295
TimerStart(gv_poweringUpTime, gv_pOWER_UP_TIME, false, c_timeGame);
gv_powerUpTimeProgress = 0.0;
UnitBehaviorAdd(gv_purifier, "ProgressBar", gv_purifier, 1);
UnitBehaviorSetDuration(gv_purifier, "ProgressBar", FixedToInt(TimerGetRemaining(gv_poweringUpTime)));
UnitForceStatusBar(gv_purifier, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1395
TimerStart(gv_poweringUpTime, gv_pOWER_UP_TIME, false, c_timeGame);
gv_powerUpTimeProgress = 0.0;
UnitBehaviorAdd(gv_purifier, "ProgressBar", gv_purifier, 1);
UnitBehaviorSetDuration(gv_purifier, "ProgressBar", FixedToInt(TimerGetRemaining(gv_poweringUpTime)));
UnitForceStatusBar(gv_purifier, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1505
TimerStart(gv_poweringUpTime, gv_pOWER_UP_TIME, false, c_timeGame);
gv_powerUpTimeProgress = 0.0;
UnitBehaviorAdd(gv_purifier, "ProgressBar", gv_purifier, 1);
UnitBehaviorSetDuration(gv_purifier, "ProgressBar", FixedToInt(TimerGetRemaining(gv_poweringUpTime)));
UnitForceStatusBar(gv_purifier, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1619
TimerStart(gv_poweringUpTime, gv_pOWER_UP_TIME, false, c_timeGame);
gv_powerUpTimeProgress = 0.0;
UnitBehaviorAdd(gv_purifier, "ProgressBar", gv_purifier, 1);
UnitBehaviorSetDuration(gv_purifier, "ProgressBar", FixedToInt(TimerGetRemaining(gv_poweringUpTime)));
UnitForceStatusBar(gv_purifier, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1726
TimerStart(gv_poweringUpTime, gv_pOWER_UP_TIME, false, c_timeGame);
gv_powerUpTimeProgress = 0.0;
UnitBehaviorAdd(gv_purifier, "ProgressBar", gv_purifier, 1);
UnitBehaviorSetDuration(gv_purifier, "ProgressBar", FixedToInt(TimerGetRemaining(gv_poweringUpTime)));
UnitForceStatusBar(gv_purifier, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2334
auto0F58FAC6_var = UnitGroupUnitFromEnd(auto0F58FAC6_g, auto0F58FAC6_u);
if (auto0F58FAC6_var == null) { break; }
UnitBehaviorAdd(auto0F58FAC6_var, "Run", auto0F58FAC6_var, 1);
UnitIssueOrder(auto0F58FAC6_var, OrderTargetingUnit(null, UnitFromId(1678)), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2342
autoA95CD8DF_var = UnitGroupUnitFromEnd(autoA95CD8DF_g, autoA95CD8DF_u);
if (autoA95CD8DF_var == null) { break; }
UnitBehaviorAdd(autoA95CD8DF_var, "Run", autoA95CD8DF_var, 1);
UnitIssueOrder(autoA95CD8DF_var, OrderTargetingUnit(null, UnitFromId(1678)), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2398
auto9AC6CBE1_var = UnitGroupUnitFromEnd(auto9AC6CBE1_g, auto9AC6CBE1_u);
if (auto9AC6CBE1_var == null) { break; }
UnitBehaviorAdd(auto9AC6CBE1_var, "Run", auto9AC6CBE1_var, 1);
UnitIssueOrder(auto9AC6CBE1_var, OrderTargetingUnit(null, UnitFromId(2722)), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1588
}
UnitSetOwner(lv_colonyStructure, gv_p03_VIROPHAGE, true);
UnitBehaviorAdd(lv_colonyStructure, "ColonyInfestation", gv_infestationVirophageUnit[lv_colonyIndex], 1);
UnitSetState(lv_colonyStructure, c_unitStateTargetable, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2353
autoF8E238DB_var = UnitGroupUnitFromEnd(autoF8E238DB_g, autoF8E238DB_u);
if (autoF8E238DB_var == null) { break; }
UnitBehaviorAdd(autoF8E238DB_var, "BroodlingFate", autoF8E238DB_var, 1);
UnitSetPropertyFixed(autoF8E238DB_var, c_unitPropMovementSpeed, 2.5);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2452
if (auto16B5685B_var == null) { break; }
if ((UnitGetType(auto16B5685B_var) != "InfestableHut")) {
UnitBehaviorAdd(auto16B5685B_var, "Run", auto16B5685B_var, 1);
UnitIssueOrder(auto16B5685B_var, OrderTargetingUnit(null, UnitGroupRandomUnit(UnitGroup("InfestableHut", gv_p05_COLONIST, gv_infestationRegion[lv_colonyIndex], UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3974
auto645C7A66_var = UnitGroupUnitFromEnd(auto645C7A66_g, auto645C7A66_u);
if (auto645C7A66_var == null) { break; }
UnitBehaviorAdd(auto645C7A66_var, "ColonyInfestation", auto645C7A66_var, 1);
}
libNtve_gf_CreateUnitsAtPoint2(1, "Zergling", 0, gv_p08_ZERG_SOUTH, PointFromId(1073));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4100
if (auto6563E3CC_var == null) { break; }
if ((DistanceBetweenPoints(UnitGetPosition(auto6563E3CC_var), UnitGetPosition(gv_briefingZergling)) <= 7.0)) {
UnitBehaviorAdd(auto6563E3CC_var, "Run", auto6563E3CC_var, 1);
UnitIssueOrder(auto6563E3CC_var, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(63)), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4111
if (auto2D2D84D2_var == null) { break; }
if ((DistanceBetweenPoints(UnitGetPosition(auto2D2D84D2_var), UnitGetPosition(gv_briefingZergling)) <= 6.0)) {
UnitBehaviorAdd(auto2D2D84D2_var, "Run", auto2D2D84D2_var, 1);
UnitIssueOrder(auto2D2D84D2_var, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(63)), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4474
auto6D42DDF1_var = UnitGroupUnitFromEnd(auto6D42DDF1_g, auto6D42DDF1_u);
if (auto6D42DDF1_var == null) { break; }
UnitBehaviorAdd(auto6D42DDF1_var, "ColonyInfestation", UnitFromId(1048), 1);
UnitSetState(auto6D42DDF1_var, c_unitStateTargetable, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4556
UnitCreate(1, "Medic", 0, gv_pLAYER_02_DOMINION, PointFromId(532), 90.0);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
UnitBehaviorAdd(UnitLastCreated(), "KillSquad", UnitLastCreated(), 1);
UnitGroupAdd(gv_patrolTop, UnitLastCreated());
AISetUnitScriptControlled(UnitLastCreated(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4641
UnitCreate(1, "Medic", 0, gv_pLAYER_02_DOMINION, PointFromId(1797), 45.0);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
UnitBehaviorAdd(UnitLastCreated(), "KillSquad", UnitLastCreated(), 1);
UnitGroupAdd(gv_patrolBottom, UnitLastCreated());
AISetUnitScriptControlled(UnitLastCreated(), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:756
autoBA160EAB_var = UnitGroupUnitFromEnd(autoBA160EAB_g, autoBA160EAB_u);
if (autoBA160EAB_var == null) { break; }
UnitBehaviorAdd(autoBA160EAB_var, "ScanRangeBonus", autoBA160EAB_var, 1);
}
UnitGroupSelect(UnitGroup(null, gv_p01_USER, RegionFromId(8), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_p01_USER, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:333
lv_u = UnitGroupUnitFromEnd(auto560015A7_g, auto560015A7_u);
if (lv_u == null) { break; }
UnitBehaviorAdd(lv_u, "Passive", lv_u, 1);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:959
autoB1D9B05D_var = UnitGroupUnitFromEnd(autoB1D9B05D_g, autoB1D9B05D_u);
if (autoB1D9B05D_var == null) { break; }
UnitBehaviorAdd(autoB1D9B05D_var, "Passive", autoB1D9B05D_var, 1);
}
auto0FE472A7_g = UnitGroup(null, gv_p02_DOMINION_INFANTRY, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:966
auto0FE472A7_var = UnitGroupUnitFromEnd(auto0FE472A7_g, auto0FE472A7_u);
if (auto0FE472A7_var == null) { break; }
UnitBehaviorAdd(auto0FE472A7_var, "Passive", auto0FE472A7_var, 1);
UnitBehaviorAdd(auto0FE472A7_var, "ScanRangeBonus", auto0FE472A7_var, 1);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:967
if (auto0FE472A7_var == null) { break; }
UnitBehaviorAdd(auto0FE472A7_var, "Passive", auto0FE472A7_var, 1);
UnitBehaviorAdd(auto0FE472A7_var, "ScanRangeBonus", auto0FE472A7_var, 1);
}
autoBAC500A5_g = UnitGroup(null, gv_p03_DOMINION_SIEGE, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:974
autoBAC500A5_var = UnitGroupUnitFromEnd(autoBAC500A5_g, autoBAC500A5_u);
if (autoBAC500A5_var == null) { break; }
UnitBehaviorAdd(autoBAC500A5_var, "Passive", autoBAC500A5_var, 1);
UnitBehaviorAdd(autoBAC500A5_var, "ScanRangeBonus", autoBAC500A5_var, 1);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:975
if (autoBAC500A5_var == null) { break; }
UnitBehaviorAdd(autoBAC500A5_var, "Passive", autoBAC500A5_var, 1);
UnitBehaviorAdd(autoBAC500A5_var, "ScanRangeBonus", autoBAC500A5_var, 1);
}
auto39080546_g = UnitGroup(null, gv_p04_DOMINION_AIR, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:982
auto39080546_var = UnitGroupUnitFromEnd(auto39080546_g, auto39080546_u);
if (auto39080546_var == null) { break; }
UnitBehaviorAdd(auto39080546_var, "Passive", auto39080546_var, 1);
UnitBehaviorAdd(auto39080546_var, "ScanRangeBonus", auto39080546_var, 1);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:983
if (auto39080546_var == null) { break; }
UnitBehaviorAdd(auto39080546_var, "Passive", auto39080546_var, 1);
UnitBehaviorAdd(auto39080546_var, "ScanRangeBonus", auto39080546_var, 1);
}
auto2EBD4F87_g = UnitGroup(null, gv_p05_DOMINION_RAIDER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:990
auto2EBD4F87_var = UnitGroupUnitFromEnd(auto2EBD4F87_g, auto2EBD4F87_u);
if (auto2EBD4F87_var == null) { break; }
UnitBehaviorAdd(auto2EBD4F87_var, "Passive", auto2EBD4F87_var, 1);
UnitBehaviorAdd(auto2EBD4F87_var, "ScanRangeBonus", auto2EBD4F87_var, 1);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:991
if (auto2EBD4F87_var == null) { break; }
UnitBehaviorAdd(auto2EBD4F87_var, "Passive", auto2EBD4F87_var, 1);
UnitBehaviorAdd(auto2EBD4F87_var, "ScanRangeBonus", auto2EBD4F87_var, 1);
}
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2563
}
lv_whereToRun = PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(3.0, 9.0), (lv_angle + RandomFixed(-20.0, 20.0)));
UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);
gv_scientistRunning = lv_scientist;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2617
UnitSetCustomValue(lv_scientist, 0, 1.0);
lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_intruderGroup, 1))) + 180.0)));
UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);
gv_scientistRunning = lv_scientist;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2673
UnitSetCustomValue(lv_scientist, 0, 1.0);
lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_brutaliskGroup, 1))) + 180.0)));
UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);
gv_scientistRunning = lv_scientist;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2729
UnitSetCustomValue(lv_scientist, 0, 1.0);
lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_hybridGroup, 1))) + 180.0)));
UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);
gv_scientistRunning = lv_scientist;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:4878
TriggerEnable(TriggerGetCurrent(), false);
UnitBehaviorAdd(gv_warbot, "WarbotB", gv_warbot, 1);
TriggerExecute(gt_Computer04WarbotWeaponActivated, true, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:4910
TriggerEnable(TriggerGetCurrent(), false);
UnitBehaviorAdd(gv_warbot, "WarbotC", gv_warbot, 1);
TriggerExecute(gt_Computer04WarbotWeaponActivated, true, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:4942
TriggerEnable(TriggerGetCurrent(), false);
UnitBehaviorAdd(gv_warbot, "WarbotA", gv_warbot, 1);
TriggerExecute(gt_Computer04WarbotWeaponActivated, true, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:4976
SoundPlay(gv_soundWarbotInitiateButton, PlayerGroupAll(), 100.0, 0.0);
VisRevealArea(gv_p01_USER, RegionFromId(143), 5.0, false);
UnitBehaviorAdd(gv_warbot, "WarbotFate", gv_warbot, 1);
UnitSetState(gv_warbot, c_unitStateTargetable, true);
libNtve_gf_MakeUnitInvulnerable(gv_warbot, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:6172
for (autoFA7A1974_i = 1; autoFA7A1974_i <= autoFA7A1974_n; autoFA7A1974_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Broodling", 0, gv_p05_ZERG_LAB_SPECIMENS, UnitGetPosition(EventUnit()));
UnitBehaviorAdd(UnitLastCreated(), "BroodlingFate", UnitLastCreated(), 1);
}
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:8185
Wait(2.0, c_timeGame);
CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.5, 1.0, 100.0, 1.0);
UnitBehaviorAdd(gv_raynor, "Flashlight", gv_raynor, 1);
TriggerExecute(gt_EscapeDialogueHornerBeCarefulQ, true, false);
TriggerExecute(gt_StartAIEscape, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:446
UnitSetScale(gv_dogmeat, 75.0, 75.0, 75.0);
gv_crazyOldClarice = UnitFromId(43);
UnitBehaviorAdd(UnitFromId(34), "CritterWanderLeashShort", UnitFromId(34), 1);
UnitSetPropertyFixed(UnitFromId(110), c_unitPropLifeMax, 150.0);
UnitSetPropertyFixed(UnitFromId(110), c_unitPropLifePercent, 100.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:834
TriggerEnable(TriggerGetCurrent(), false);
SoundPlayOnUnit(SoundLink("Dog_Bark", -1), PlayerGroupAll(), gv_dogmeat, 0.0, 100.0, 0.0);
UnitBehaviorAdd(gv_dogmeat, "Run", gv_dogmeat, 1);
UnitIssueOrder(gv_dogmeat, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(632)), c_orderQueueReplace);
UnitIssueOrder(gv_dogmeat, OrderTargetingUnit(AbilityCommand("move", 4), gv_raynor), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1036
if ((UnitIsAlive(gv_dogmeat) == true)) {
SoundPlayOnUnit(SoundLink("Dog_Howl", -1), PlayerGroupAll(), gv_dogmeat, 0.0, 100.0, 0.0);
UnitBehaviorAdd(gv_dogmeat, "CritterWanderLeashShort", gv_dogmeat, 1);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2262
Wait(0.2, c_timeGame);
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(UnitFromId(912)), c_animNameDefault);
UnitBehaviorAdd(UnitFromId(728), "Run", UnitFromId(728), 1);
UnitBehaviorAdd(UnitFromId(216), "Run", UnitFromId(216), 1);
UnitBehaviorAdd(UnitFromId(1074), "Run", UnitFromId(1074), 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2263
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(UnitFromId(912)), c_animNameDefault);
UnitBehaviorAdd(UnitFromId(728), "Run", UnitFromId(728), 1);
UnitBehaviorAdd(UnitFromId(216), "Run", UnitFromId(216), 1);
UnitBehaviorAdd(UnitFromId(1074), "Run", UnitFromId(1074), 1);
UnitBehaviorAdd(UnitFromId(925), "Run", UnitFromId(925), 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2264
UnitBehaviorAdd(UnitFromId(728), "Run", UnitFromId(728), 1);
UnitBehaviorAdd(UnitFromId(216), "Run", UnitFromId(216), 1);
UnitBehaviorAdd(UnitFromId(1074), "Run", UnitFromId(1074), 1);
UnitBehaviorAdd(UnitFromId(925), "Run", UnitFromId(925), 1);
UnitBehaviorAdd(UnitFromId(912), "Run", UnitFromId(912), 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2265
UnitBehaviorAdd(UnitFromId(216), "Run", UnitFromId(216), 1);
UnitBehaviorAdd(UnitFromId(1074), "Run", UnitFromId(1074), 1);
UnitBehaviorAdd(UnitFromId(925), "Run", UnitFromId(925), 1);
UnitBehaviorAdd(UnitFromId(912), "Run", UnitFromId(912), 1);
Wait(2.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2266
UnitBehaviorAdd(UnitFromId(1074), "Run", UnitFromId(1074), 1);
UnitBehaviorAdd(UnitFromId(925), "Run", UnitFromId(925), 1);
UnitBehaviorAdd(UnitFromId(912), "Run", UnitFromId(912), 1);
Wait(2.0, c_timeGame);
gf_OrderUnitToMoveThenTurnToTargetPointsFacing(UnitFromId(1074), PointFromId(1835), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2645
if (auto9DF4B488_var == null) { break; }
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(auto9DF4B488_var), c_animNameDefault);
UnitBehaviorAdd(auto9DF4B488_var, "CivilianEnableWeapon", auto9DF4B488_var, 1);
UnitBehaviorAdd(auto9DF4B488_var, "Run", auto9DF4B488_var, 1);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2646
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(auto9DF4B488_var), c_animNameDefault);
UnitBehaviorAdd(auto9DF4B488_var, "CivilianEnableWeapon", auto9DF4B488_var, 1);
UnitBehaviorAdd(auto9DF4B488_var, "Run", auto9DF4B488_var, 1);
}
auto7C99916A_g = UnitGroup(null, gv_p3_RIKSVILLE_YELLOW, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:3215
if (auto4542E7A1_var == null) { break; }
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(auto4542E7A1_var), c_animNameDefault);
UnitBehaviorAdd(auto4542E7A1_var, "Run", auto4542E7A1_var, 1);
}
while (true) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:3288
}
UnitBehaviorAdd(lv_miner, "Run", lv_miner, 1);
UnitIssueOrder(lv_miner, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(16))), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:3348
}
UnitBehaviorAdd(lv_miner, "Run", lv_miner, 1);
UnitIssueOrder(lv_miner, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(14))), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:3408
}
UnitBehaviorAdd(lv_miner, "Run", lv_miner, 1);
UnitIssueOrder(lv_miner, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(17))), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:1696
lv_harvestingSCV = EventUnit();
UnitBehaviorAdd(lv_harvestingSCV, "HarvestingTerrazine", lv_harvestingSCV, 1);
lv_customTerrazineGasValue = FixedToInt(UnitGetCustomValue(EventUnitTargetUnit(), 0));
gv_gasControlCount += 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:1707
libNtve_gf_SendActorMessageToUnit(EventUnitTargetUnit(), "Signal TerranStart");
UnitSetCustomValue(lv_harvestingSCV, 0, UnitGetCustomValue(EventUnitTargetUnit(), 0));
UnitBehaviorAdd(lv_harvestingSCV, "ProgressBar", lv_harvestingSCV, 1);
UnitForceStatusBar(EventUnitTargetUnit(), true);
if ((UnitGetType(EventUnitTargetUnit()) == "TerrazineNode")) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:1711
if ((UnitGetType(EventUnitTargetUnit()) == "TerrazineNode")) {
UnitBehaviorSetDuration(lv_harvestingSCV, "ProgressBar", 60);
UnitBehaviorAdd(EventUnitTargetUnit(), "TerrazineCountdownDummyBar", EventUnitTargetUnit(), 1);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:1715
else {
UnitBehaviorSetDuration(lv_harvestingSCV, "ProgressBar", 10);
UnitBehaviorAdd(EventUnitTargetUnit(), "TerrazineCountdownDummyBarFaster", EventUnitTargetUnit(), 1);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:2544
UnitForceStatusBar(EventUnitTargetUnit(), true);
if ((UnitGetType(EventUnitTargetUnit()) == "TerrazineNode")) {
UnitBehaviorAdd(EventUnitTargetUnit(), "TerrazineCountdownDummyBar", EventUnitTargetUnit(), 1);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:2547
}
else {
UnitBehaviorAdd(EventUnitTargetUnit(), "TerrazineCountdownDummyBarFaster", EventUnitTargetUnit(), 1);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:720
UnitSetState(UnitFromId(1432), c_unitStateStatusBar, false);
UnitSetState(UnitFromId(1432), c_unitStateInvulnerable, true);
UnitBehaviorAdd(UnitFromId(135), "FastBuild", UnitFromId(135), 1);
UnitBehaviorAdd(UnitFromId(1330), "FastBuild", UnitFromId(1330), 1);
UnitBehaviorAdd(UnitFromId(108), "FastBuild", UnitFromId(108), 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:721
UnitSetState(UnitFromId(1432), c_unitStateInvulnerable, true);
UnitBehaviorAdd(UnitFromId(135), "FastBuild", UnitFromId(135), 1);
UnitBehaviorAdd(UnitFromId(1330), "FastBuild", UnitFromId(1330), 1);
UnitBehaviorAdd(UnitFromId(108), "FastBuild", UnitFromId(108), 1);
UnitBehaviorAdd(UnitFromId(85), "FastBuild", UnitFromId(85), 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:722
UnitBehaviorAdd(UnitFromId(135), "FastBuild", UnitFromId(135), 1);
UnitBehaviorAdd(UnitFromId(1330), "FastBuild", UnitFromId(1330), 1);
UnitBehaviorAdd(UnitFromId(108), "FastBuild", UnitFromId(108), 1);
UnitBehaviorAdd(UnitFromId(85), "FastBuild", UnitFromId(85), 1);
libNtve_gf_MakeUnitInvulnerable(UnitFromId(120), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:723
UnitBehaviorAdd(UnitFromId(1330), "FastBuild", UnitFromId(1330), 1);
UnitBehaviorAdd(UnitFromId(108), "FastBuild", UnitFromId(108), 1);
UnitBehaviorAdd(UnitFromId(85), "FastBuild", UnitFromId(85), 1);
libNtve_gf_MakeUnitInvulnerable(UnitFromId(120), true);
UnitSetState(UnitFromId(120), c_unitStateSelectable, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:790
TriggerExecute(gt_CellBlockBRavenPatrol, true, false);
UnitIssueOrder(UnitFromId(1648), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
UnitBehaviorAdd(UnitFromId(24), "FastBuild", UnitFromId(24), 1);
UnitBehaviorAdd(UnitFromId(25), "FastBuild", UnitFromId(25), 1);
UnitCargoCreate(UnitFromId(6), "Marine", 4);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:791
UnitIssueOrder(UnitFromId(1648), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
UnitBehaviorAdd(UnitFromId(24), "FastBuild", UnitFromId(24), 1);
UnitBehaviorAdd(UnitFromId(25), "FastBuild", UnitFromId(25), 1);
UnitCargoCreate(UnitFromId(6), "Marine", 4);
UnitCargoCreate(UnitFromId(7), "Marine", 4);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:700
UnitSetPropertyFixed(UnitFromId(1063), c_unitPropLife, 60.0);
UnitSetPropertyFixed(UnitFromId(1065), c_unitPropLife, 60.0);
UnitBehaviorAdd(UnitFromId(1070), "Cleave", UnitFromId(1070), 1);
gf_HideUnitGroup(false, gv_p3Units);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:5975
gf_HideUnitGroup(false, gv_p1DoneOldUnits);
libNtve_gf_MakeUnitInvulnerable(gv_nova, true);
UnitBehaviorAdd(gv_nova, "SuppressCloak", gv_nova, 1);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:6256
gf_HideUnitGroup(false, gv_p2DoneOldUnits);
libNtve_gf_MakeUnitInvulnerable(gv_nova, true);
UnitBehaviorAdd(gv_nova, "SuppressCloak", gv_nova, 1);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:2519
}
gv_fLAGKerrigansearching = true;
UnitBehaviorAdd(gv_uNIT_KERRIGAN, "ProgressBar", gv_uNIT_KERRIGAN, 1);
UnitBehaviorSetDuration(gv_uNIT_KERRIGAN, "ProgressBar", FixedToInt(TimerGetRemaining(gv_kerriganSearchTimer)));
UnitForceStatusBar(gv_uNIT_KERRIGAN, true);