# Center Of Region
Grammar — Center of r
Flags —Native
|Function
Returns the center point of a region.
# Arguments
region
— Region
Returns — point
native point RegionGetCenter(region r);
# Related
Category: Region / Modification
- Random Point In Region —
point
— RegionRandomPoint - Center Of Region —
point
— RegionGetCenter - Unit Attached To Region —
unit
— RegionGetAttachUnit - Attach Region To Unit —
void
— RegionAttachToUnit - Move Region —
void
— RegionSetCenter - Width Of Region —
fixed
— libNtve_gf_WidthOfRegion - Height Of Region —
fixed
— libNtve_gf_HeightOfRegion - Bottom-Left Of Region Bounds —
point
— RegionGetBoundsMin - Top-Right Of Region Bounds —
point
— RegionGetBoundsMax
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2481
CameraInfoSetValue(lv_camera, c_cameraValueNearClip, 0.1);
CameraInfoSetValue(lv_camera, c_cameraValueShadowClip, 75.0);
gv_cameraLocation = RegionGetCenter(RegionEntireMap());
CameraInfoSetTarget(lv_camera, gv_cameraLocation);
CameraApplyInfo(gv_p1_USER, lv_camera, 0.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2688
// Implementation
lv_cameraCenter = RegionGetCenter(gf_GetCameraBoundary());
gv_bGStart = PointWithOffset(lv_cameraCenter, 0.0, 8.0);
gv_bGStartNext = PointWithOffset(gv_bGStart, 0.0, gv_c_BGHeight);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2701
// Implementation
lv_center = RegionGetCenter(gf_GetCameraBoundary());
UnitCreate(1, "SS_BlackEdgeBorder", 0, gv_p0_NEUTRAL, PointWithOffset(lv_center, -36.0, 0.0), 180.0);
gf_PrepareUnitForShooterGame(UnitLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3165
// Implementation
gf_FighterEnableDisableControl(false);
libNtve_gf_CreateUnitsAtPoint2(1, "SS_Fighter", 0, gv_p1_USER, RegionGetCenter(RegionEntireMap()));
gv_viking = UnitLastCreated();
libNtve_gf_MakeUnitInvulnerable(gv_viking, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4348
lv_bounds = gf_GetCameraBoundary();
gf_CreatePowerup(RegionGetCenter(lv_bounds), "SS_PowerupBomb");
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4703
TriggerEnable(gt_Level1BossInterceptorSpawned, true);
lv_bounds = gf_GetCameraBoundary();
lv_spawnLoc = RegionGetCenter(lv_bounds);
lv_spawnLoc = PointWithOffset(lv_spawnLoc, 0.0, 4.0);
libNtve_gf_CreateModelAtPoint("SS_CarrierBossBirth", libNtve_gf_PointWithZOffset(lv_spawnLoc, gv_c_PlaneHeight));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7074
Wait(0.5, c_timeGame);
}
lv_targetLoc = RegionGetCenter(lv_bounds);
lv_targetLoc = PointWithOffset(lv_targetLoc, RandomFixed((-1.0 * (libNtve_gf_WidthOfRegion(lv_bounds) / 4.0)), (libNtve_gf_WidthOfRegion(lv_bounds) / 4.0)), RandomFixed(2.0, 6.0));
UnitIssueOrder(gv_boss, OrderTargetingPoint(AbilityCommand("move", 0), lv_targetLoc), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7115
TriggerEnable(TriggerGetCurrent(), false);
lv_bounds = gf_GetCameraBoundary();
lv_spawnLoc = RegionGetCenter(lv_bounds);
lv_spawnLoc = PointWithOffset(lv_spawnLoc, 0.0, 4.0);
libNtve_gf_CreateModelAtPoint("MothershipTeleportIn", libNtve_gf_PointWithZOffset(lv_spawnLoc, gv_c_PlaneHeight));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7775
UnitBehaviorAddPlayer(gv_viking, "SS_VikingRespawn", gv_p1_USER, 1);
lv_bounds = gf_GetCameraBoundary();
lv_spawnLoc = PointWithOffset(RegionGetCenter(lv_bounds), 0.0, -5.0);
UnitSetPosition(gv_viking, lv_spawnLoc, false);
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_viking), c_animNameDefault, "Birth", c_animFlagNonLooping, 0.25);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7885
libNtve_gf_AttachModelToUnit(gv_viking, "VikingMercenaryFighterReentry", "Ref_Origin");
lv_effect = libNtve_gf_ActorLastCreated();
TextTagCreate((StringExternal("Param/Value/B43D0432") + StringExternal("Param/Value/C82958EB") + IntToText(((gv_scoreLastBonusLife + (gv_c_BonusLifeScore * gv_extraLifeMulpitier)) / 1000)) + StringExternal("Param/Value/56F048BC") + StringExternal("Param/Value/474EC002")), 100, PointWithOffset(RegionGetCenter(gf_GetCameraBoundary()), 0.0, 8.0), 0.0, true, false, PlayerGroupAll());
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 6.0);
TextTagSetTime(TextTagLastCreated(), c_textTagTimeFadeOut, 4.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:441
// Implementation
libNtve_gf_UnitCreateFacingPoint(lp_qty1, lp_type1, 0, gv_p2_ZERG_ORANGE_NW, RegionGetCenter(RegionFromId(11)), PointFromId(858));
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_unitGroup);
libNtve_gf_UnitCreateFacingPoint(lp_qty2, lp_type2, 0, gv_p2_ZERG_ORANGE_NW, RegionGetCenter(RegionFromId(11)), PointFromId(858));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:443
libNtve_gf_UnitCreateFacingPoint(lp_qty1, lp_type1, 0, gv_p2_ZERG_ORANGE_NW, RegionGetCenter(RegionFromId(11)), PointFromId(858));
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_unitGroup);
libNtve_gf_UnitCreateFacingPoint(lp_qty2, lp_type2, 0, gv_p2_ZERG_ORANGE_NW, RegionGetCenter(RegionFromId(11)), PointFromId(858));
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_unitGroup);
libNtve_gf_UnitCreateFacingPoint(lp_qty3, lp_type3, 0, gv_p2_ZERG_ORANGE_NW, RegionGetCenter(RegionFromId(11)), PointFromId(858));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:445
libNtve_gf_UnitCreateFacingPoint(lp_qty2, lp_type2, 0, gv_p2_ZERG_ORANGE_NW, RegionGetCenter(RegionFromId(11)), PointFromId(858));
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_unitGroup);
libNtve_gf_UnitCreateFacingPoint(lp_qty3, lp_type3, 0, gv_p2_ZERG_ORANGE_NW, RegionGetCenter(RegionFromId(11)), PointFromId(858));
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_unitGroup);
libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, RegionRandomPoint(RegionCircle(lp_target, 1.0)), lv_unitGroup, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1023
}
Wait(0.1, c_timeGame);
UnitIssueOrder(UnitFromId(290), OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(31))), c_orderQueueReplace);
TriggerEnable(gt_FirebatMove, false);
TriggerEnable(gt_DefeatTacticalPhase, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1391
Wait(0.5, c_timeGame);
if ((UnitGroupCount(UnitGroup(null, gv_p1_USER, RegionFromId(36), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0)) {
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("Zergling", gv_p5_ZERG_TACTICALPHASE, RegionCircle(RegionGetCenter(RegionFromId(14)), 6.0), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_zergOnTheLoose);
libNtve_gf_AddUnitGroupToUnitGroup(lv_zerglingGroup, gv_zergOnTheLoose);
break;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1790
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "PingObjective", RegionGetCenter(RegionFromId(2)), ColorWithAlpha(0.00, 100.00, 0.00, 0.00), 0.0, 270.0);
PingSetTooltip(PingLastCreated(), StringExternal("Param/Value/5F1585BF"));
// Transmission - SoundLink("THanson01Raynor00006", 0)
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:894
}
libNtve_gf_CreateUnitsAtPoint2(14, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionGetCenter(RegionFromId(3)));
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_attackersLeft);
UnitGroupIssueOrder(lv_attackersLeft, Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:897
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_attackersLeft);
UnitGroupIssueOrder(lv_attackersLeft, Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(14, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionGetCenter(RegionFromId(4)));
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_attackersRight);
UnitGroupIssueOrder(lv_attackersRight, Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2403
gv_area01Cleared = true;
gv_areasCleared += 1;
MinimapPing(PlayerGroupAll(), RegionGetCenter(RegionFromId(9)), 5.0, Color(0.00, 100.00, 0.00));
AIToggleBulliesInRegion(gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(9), false);
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(9), "FogGrey", c_animNameDefault, "Death", c_animFlagPlayForever, c_animTimeDefault);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2412
gv_area02Cleared = true;
gv_areasCleared += 1;
MinimapPing(PlayerGroupAll(), RegionGetCenter(RegionFromId(10)), 5.0, Color(0.00, 100.00, 0.00));
AIToggleBulliesInRegion(gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(10), false);
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(10), "FogGrey", c_animNameDefault, "Death", c_animFlagPlayForever, c_animTimeDefault);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2421
gv_area03Cleared = true;
gv_areasCleared += 1;
MinimapPing(PlayerGroupAll(), RegionGetCenter(RegionFromId(28)), 5.0, Color(0.00, 100.00, 0.00));
AIToggleBulliesInRegion(gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(28), false);
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(28), "FogGrey", c_animNameDefault, "Death", c_animFlagPlayForever, c_animTimeDefault);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2430
gv_area04Cleared = true;
gv_areasCleared += 1;
MinimapPing(PlayerGroupAll(), RegionGetCenter(RegionFromId(11)), 5.0, Color(0.00, 100.00, 0.00));
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(11), "FogGrey", c_animNameDefault, "Death", c_animFlagPlayForever, c_animTimeDefault);
AIToggleBulliesInRegion(gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(11), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2439
gv_area05Cleared = true;
gv_areasCleared += 1;
MinimapPing(PlayerGroupAll(), RegionGetCenter(RegionFromId(12)), 5.0, Color(0.00, 100.00, 0.00));
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(12), "FogGrey", c_animNameDefault, "Death", c_animFlagPlayForever, c_animTimeDefault);
AIToggleBulliesInRegion(gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(12), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2448
gv_area06Cleared = true;
gv_areasCleared += 1;
MinimapPing(PlayerGroupAll(), RegionGetCenter(RegionFromId(39)), 5.0, Color(0.00, 100.00, 0.00));
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(39), "FogGrey", c_animNameDefault, "Death", c_animFlagPlayForever, c_animTimeDefault);
AIToggleBulliesInRegion(gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(39), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2457
gv_area07Cleared = true;
gv_areasCleared += 1;
MinimapPing(PlayerGroupAll(), RegionGetCenter(RegionFromId(1)), 5.0, Color(0.00, 100.00, 0.00));
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(1), "FogGrey", c_animNameDefault, "Death", c_animFlagPlayForever, c_animTimeDefault);
AIToggleBulliesInRegion(gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(1), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2466
gv_area08Cleared = true;
gv_areasCleared += 1;
MinimapPing(PlayerGroupAll(), RegionGetCenter(RegionFromId(22)), 5.0, Color(0.00, 100.00, 0.00));
libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionFromId(22), "FogGrey", c_animNameDefault, "Death", c_animFlagPlayForever, c_animTimeDefault);
AIToggleBulliesInRegion(gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(22), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:305
lv_fleetSize = UnitGroupCount(lp_fLEET, c_unitCountAlive);
if ((UnitGroupCount(lp_fLEET, c_unitCountAlive) > 0) && (UnitGroupCount(UnitGroupFilterRegion(lp_fLEET, lp_tARGET, 0), c_unitCountAlive) != lv_fleetSize)) {
UnitGroupIssueOrder(lp_fLEET, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(lp_tARGET)), c_orderQueueAddToEnd);
Wait(30.0, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:804
GameSetToDLighting("Haven");
GameTimeOfDayPause(true);
VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(9)), 10.0));
gv_colonist_Outpost_Alpha = VisRevealerLastCreated();
VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(11)), 10.0));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:806
VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(9)), 10.0));
gv_colonist_Outpost_Alpha = VisRevealerLastCreated();
VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(11)), 10.0));
gv_colonist_Outpost_Beta = VisRevealerLastCreated();
VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(12)), 10.0));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:808
VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(11)), 10.0));
gv_colonist_Outpost_Beta = VisRevealerLastCreated();
VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(12)), 10.0));
gv_colonist_Outpost_Gamma = VisRevealerLastCreated();
VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(8)), 10.0));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:810
VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(12)), 10.0));
gv_colonist_Outpost_Gamma = VisRevealerLastCreated();
VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(8)), 10.0));
gv_colonist_Outpost_Omega = VisRevealerLastCreated();
gv_planetCrackerHoleAlpha = ActorFromDoodad(DoodadFromId(199));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1180
TriggerExecute(gt_ShowPathtoAlphaBase, true, false);
UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1065)), c_orderQueueReplace);
UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(13))), c_orderQueueAddToEnd);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1285
}
UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(13))), c_orderQueueReplace);
UnitIssueOrder(gv_purifier, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
UnitIssueOrder(gv_purifier, Order(AbilityCommand("PurifierTogglePower", 0)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1385
}
UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(15))), c_orderQueueReplace);
UnitIssueOrder(gv_purifier, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
UnitIssueOrder(gv_purifier, Order(AbilityCommand("PurifierTogglePower", 0)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1495
}
UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(16))), c_orderQueueReplace);
UnitIssueOrder(gv_purifier, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
UnitIssueOrder(gv_purifier, Order(AbilityCommand("PurifierTogglePower", 0)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:1609
}
UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(17))), c_orderQueueReplace);
UnitIssueOrder(gv_purifier, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
UnitIssueOrder(gv_purifier, Order(AbilityCommand("PurifierTogglePower", 0)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:381
UnitRemove(gv_infestationVirophageUnit[lp_colonyIndex]);
gv_infestationVirophageUnit[lp_colonyIndex] = null;
CreepModify(RegionGetCenter(lp_area), 10.0, false, false);
autoED4A8D80_g = UnitGroup(null, gv_p07_ZERG_INFESTED, lp_area, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoED4A8D80_u = UnitGroupCount(autoED4A8D80_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:785
for (autoEA209D47_i = 1; autoEA209D47_i <= autoEA209D47_n; autoEA209D47_i += 1) {
if ((gf_InfestedPlayerisFoodCapped() == false) && (lv_virophage != null) && (UnitIsAlive(lv_virophage) == true) && (UnitGetType(lv_virophage) == "Virophage")) {
gf_EggSpawnerSpawnAnEgg(lp_type, RegionRandomPoint(RegionCircle(RegionGetCenter(gv_infestationRegion[lv_colonyIndex]), lv_sPAWN_RADIUS)), lv_colonyIndex);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:836
if ((RandomInt(1, 6) == 1)) {
UnitIssueOrder(lv_colonist, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionCircle(RegionGetCenter(lp_locale), 2.0))), c_orderQueueReplace);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:975
PlayerGroupAdd(gv_zergPlayers, gv_p07_ZERG_INFESTED);
PlayerGroupAdd(gv_zergPlayers, gv_p08_ZERG_SOUTH);
AIAttackWaveSetGatherPoint(gv_p02_ZERG_EAST, RegionGetCenter(RegionFromId(15)));
AIAttackWaveSetGatherPoint(gv_p04_ZERG_NORTH, RegionGetCenter(RegionFromId(31)));
AIAttackWaveSetGatherPoint(gv_p08_ZERG_SOUTH, RegionGetCenter(RegionFromId(32)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:976
PlayerGroupAdd(gv_zergPlayers, gv_p08_ZERG_SOUTH);
AIAttackWaveSetGatherPoint(gv_p02_ZERG_EAST, RegionGetCenter(RegionFromId(15)));
AIAttackWaveSetGatherPoint(gv_p04_ZERG_NORTH, RegionGetCenter(RegionFromId(31)));
AIAttackWaveSetGatherPoint(gv_p08_ZERG_SOUTH, RegionGetCenter(RegionFromId(32)));
PlayerModifyPropertyInt(gv_p01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 500);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:977
AIAttackWaveSetGatherPoint(gv_p02_ZERG_EAST, RegionGetCenter(RegionFromId(15)));
AIAttackWaveSetGatherPoint(gv_p04_ZERG_NORTH, RegionGetCenter(RegionFromId(31)));
AIAttackWaveSetGatherPoint(gv_p08_ZERG_SOUTH, RegionGetCenter(RegionFromId(32)));
PlayerModifyPropertyInt(gv_p01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 500);
PlayerModifyPropertyInt(gv_p01_USER, c_playerPropVespene, c_playerPropOperSetTo, 400);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1341
for ( ; ( (auto184A2A65_ai >= 0 && lv_colonyIndex <= auto184A2A65_ae) || (auto184A2A65_ai < 0 && lv_colonyIndex >= auto184A2A65_ae) ) ; lv_colonyIndex += auto184A2A65_ai ) {
if ((gv_infestationPings[lv_colonyIndex] == c_invalidPingId)) {
PingCreate(PlayerGroupAll(), "PingWarning", RegionGetCenter(gv_infestationRegion[lv_colonyIndex]), ColorWithAlpha(100.00, 0.00, 0.00, 74.90), 0.0);
PingSetScale(PingLastCreated(), 0.75);
PingSetVisible(PingLastCreated(), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1516
VisRevealerCreate(gv_p01_USER, gv_infestationRegion[lv_colonyIndex]);
gv_infestationRevealer[lv_colonyIndex] = VisRevealerLastCreated();
UIAlertPoint("Trigger", gv_p01_USER, StringExternal("Param/Value/02A5C7BE"), null, RegionGetCenter(gv_infestationRegion[lv_colonyIndex]));
PingDestroy(gv_infestationPings[lv_colonyIndex]);
libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "PingObjective", RegionGetCenter(gv_infestationRegion[lv_colonyIndex]), ColorWithAlpha(0.00, 100.00, 0.00, 0.00), 0.0, 270.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1518
UIAlertPoint("Trigger", gv_p01_USER, StringExternal("Param/Value/02A5C7BE"), null, RegionGetCenter(gv_infestationRegion[lv_colonyIndex]));
PingDestroy(gv_infestationPings[lv_colonyIndex]);
libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "PingObjective", RegionGetCenter(gv_infestationRegion[lv_colonyIndex]), ColorWithAlpha(0.00, 100.00, 0.00, 0.00), 0.0, 270.0);
PingSetTooltip(PingLastCreated(), StringExternal("Param/Value/137974FA"));
gv_infestationPings[lv_colonyIndex] = PingLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1574
gv_tEMP_ColonyIndex = lv_colonyIndex;
TriggerExecute(gt_PlayInfestedWarningQ, true, false);
UIAlertPoint("Trigger", gv_p01_USER, StringExternal("Param/Value/B93EE334"), null, RegionGetCenter(gv_infestationRegion[lv_colonyIndex]));
auto6086ECAA_g = UnitGroup(null, gv_p05_COLONIST, gv_infestationRegion[lv_colonyIndex], UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto6086ECAA_u = UnitGroupCount(auto6086ECAA_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:336
Wait(0.2, c_timeGame);
if ((UnitGroupCount(UnitGroup(lp_salvageType, gv_p05_SCRAP, lp_salvageRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(lp_salvageRegion));
lv_elevatorBlocker = UnitLastCreated();
ActorRegionCreate(null, "TriggerRegion", lp_salvageRegion);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:342
ActorRegionSend(lv_actorRegion, c_actorIntersectAgainstRadiusContact, "Signal Down", "Doodad", "ScopeContains PortZionScrapElevatorLeft");
Wait(1.75, c_timeGame);
libNtve_gf_CreateUnitsWithDefaultFacing(1, lp_salvageType, c_unitCreateIgnorePlacement, gv_p05_SCRAP, RegionGetCenter(lp_salvageRegion));
UnitSetInfoText(UnitLastCreated(), StringExternal("Param/Value/332D48ED"), StringToText(""), StringToText(""));
ActorRegionSend(lv_actorRegion, c_actorIntersectAgainstRadiusContact, "Signal Up", "Doodad", "ScopeContains PortZionScrapElevatorLeft");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:365
UnitIssueOrder(lp_nuker, Order(AbilityCommand("GhostCloak", 1)), c_orderQueueAddToEnd);
VisRevealArea(gv_p01_USER, RegionCircle(lp_nukeTarget, 8.0), 25.0, false);
libNtve_gf_CreateModelAtPoint("GhostNukeIndicator", RegionGetCenter(RegionFromId(55)));
gv_nukeActor = libNtve_gf_ActorLastCreated();
TriggerEnable(gt_GhostDiesRemoveNukeActor, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:596
gv_contrabandRelicsTotal += 1;
}
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(20)));
gv_initialElevatorBlockers[1] = UnitLastCreated();
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(21)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:598
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(20)));
gv_initialElevatorBlockers[1] = UnitLastCreated();
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(21)));
gv_initialElevatorBlockers[2] = UnitLastCreated();
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(12)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:600
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(21)));
gv_initialElevatorBlockers[2] = UnitLastCreated();
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(12)));
gv_initialElevatorBlockers[3] = UnitLastCreated();
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(8)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:602
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(12)));
gv_initialElevatorBlockers[3] = UnitLastCreated();
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(8)));
gv_initialElevatorBlockers[4] = UnitLastCreated();
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(13)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:604
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(8)));
gv_initialElevatorBlockers[4] = UnitLastCreated();
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(13)));
gv_initialElevatorBlockers[5] = UnitLastCreated();
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(14)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:606
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(13)));
gv_initialElevatorBlockers[5] = UnitLastCreated();
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(14)));
gv_initialElevatorBlockers[6] = UnitLastCreated();
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(18)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:608
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(14)));
gv_initialElevatorBlockers[6] = UnitLastCreated();
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(18)));
gv_initialElevatorBlockers[7] = UnitLastCreated();
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(19)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:3222
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);
Wait(0.5, c_timeGame);
UnitIssueOrder(UnitFromId(2), OrderTargetingPoint(AbilityCommand("OdinNuclearStrike", 0), RegionGetCenter(RegionFromId(20))), c_orderQueueReplace);
SoundPlay(SoundLink("Alert_TerranCalldownLaunch", -1), PlayerGroupAll(), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:3246
void gt_OdinNukesP07Q_Init () {
gt_OdinNukesP07Q = TriggerCreate("gt_OdinNukesP07Q_Func");
TriggerAddEventUnitRangePoint(gt_OdinNukesP07Q, UnitRefFromUnit(UnitFromId(2)), RegionGetCenter(RegionFromId(20)), 16.0, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:3269
CameraLockInput(gv_p01_USER, true);
CameraApplyInfo(gv_p01_USER, CameraInfoDefault(), 1.0, -1, 10, true);
CameraPan(gv_p01_USER, RegionGetCenter(RegionFromId(20)), 2.0, -1, 10, false);
Wait(2.0, c_timeGame);
CameraLockInput(gv_p01_USER, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2291
if ((libCamp_gf_StoryResearchStateCheck(libCamp_ge_StoryResearchID_ResearchP21OrbitalDepots, libCamp_ge_StoryResearchState_ResearchStatePurchased) == true)) {
AISetUnitScriptControlled(gv_supplyDepotSCV, true);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuildDrop", 0), RegionGetCenter(RegionFromId(35))), c_orderQueueAddToEnd);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuildDrop", 0), RegionGetCenter(RegionFromId(36))), c_orderQueueAddToEnd);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuildDrop", 0), RegionGetCenter(RegionFromId(37))), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2292
AISetUnitScriptControlled(gv_supplyDepotSCV, true);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuildDrop", 0), RegionGetCenter(RegionFromId(35))), c_orderQueueAddToEnd);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuildDrop", 0), RegionGetCenter(RegionFromId(36))), c_orderQueueAddToEnd);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuildDrop", 0), RegionGetCenter(RegionFromId(37))), c_orderQueueAddToEnd);
if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2293
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuildDrop", 0), RegionGetCenter(RegionFromId(35))), c_orderQueueAddToEnd);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuildDrop", 0), RegionGetCenter(RegionFromId(36))), c_orderQueueAddToEnd);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuildDrop", 0), RegionGetCenter(RegionFromId(37))), c_orderQueueAddToEnd);
if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuildDrop", 0), RegionGetCenter(RegionFromId(42))), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2295
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuildDrop", 0), RegionGetCenter(RegionFromId(37))), c_orderQueueAddToEnd);
if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuildDrop", 0), RegionGetCenter(RegionFromId(42))), c_orderQueueAddToEnd);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2301
else {
AISetUnitScriptControlled(gv_supplyDepotSCV, true);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuild", 1), RegionGetCenter(RegionFromId(35))), c_orderQueueAddToEnd);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuild", 1), RegionGetCenter(RegionFromId(36))), c_orderQueueAddToEnd);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuild", 1), RegionGetCenter(RegionFromId(37))), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2302
AISetUnitScriptControlled(gv_supplyDepotSCV, true);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuild", 1), RegionGetCenter(RegionFromId(35))), c_orderQueueAddToEnd);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuild", 1), RegionGetCenter(RegionFromId(36))), c_orderQueueAddToEnd);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuild", 1), RegionGetCenter(RegionFromId(37))), c_orderQueueAddToEnd);
if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2303
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuild", 1), RegionGetCenter(RegionFromId(35))), c_orderQueueAddToEnd);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuild", 1), RegionGetCenter(RegionFromId(36))), c_orderQueueAddToEnd);
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuild", 1), RegionGetCenter(RegionFromId(37))), c_orderQueueAddToEnd);
if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuild", 1), RegionGetCenter(RegionFromId(42))), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2305
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuild", 1), RegionGetCenter(RegionFromId(37))), c_orderQueueAddToEnd);
if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
UnitIssueOrder(gv_supplyDepotSCV, OrderTargetingPoint(AbilityCommand("TerranBuild", 1), RegionGetCenter(RegionFromId(42))), c_orderQueueAddToEnd);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2448
TriggerEnable(gt_OdinStompsStuff, true);
TriggerExecute(gt_StartGameStage1Timer, true, false);
libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Balloons");
libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains TickerTapeFX");
libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Fireworks");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:2449
TriggerExecute(gt_StartGameStage1Timer, true, false);
libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Balloons");
libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains TickerTapeFX");
libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Fireworks");
auto04317FC0_g = UnitGroup("PathingBlocker1x1", c_playerAny, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1246
void gt_RoadblockCarcass_Init () {
gt_RoadblockCarcass = TriggerCreate("gt_RoadblockCarcass_Func");
TriggerAddEventUnitRangePoint(gt_RoadblockCarcass, null, RegionGetCenter(RegionFromId(48)), 5.0, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1526
void gt_GhostTownEntranceCarcass_Init () {
gt_GhostTownEntranceCarcass = TriggerCreate("gt_GhostTownEntranceCarcass_Func");
TriggerAddEventUnitRangePoint(gt_GhostTownEntranceCarcass, null, RegionGetCenter(RegionFromId(47)), 5.0, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1558
void gt_GhostTownExitCarcass1_Init () {
gt_GhostTownExitCarcass1 = TriggerCreate("gt_GhostTownExitCarcass1_Func");
TriggerAddEventUnitRangePoint(gt_GhostTownExitCarcass1, null, RegionGetCenter(RegionFromId(43)), 5.0, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1590
void gt_GhostTownExitCarcass2_Init () {
gt_GhostTownExitCarcass2 = TriggerCreate("gt_GhostTownExitCarcass2_Func");
TriggerAddEventUnitRangePoint(gt_GhostTownExitCarcass2, null, RegionGetCenter(RegionFromId(44)), 5.0, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1622
void gt_GhostTownExitCarcass3_Init () {
gt_GhostTownExitCarcass3 = TriggerCreate("gt_GhostTownExitCarcass3_Func");
TriggerAddEventUnitRangePoint(gt_GhostTownExitCarcass3, null, RegionGetCenter(RegionFromId(45)), 5.0, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1654
void gt_GhostTownExitCarcass4_Init () {
gt_GhostTownExitCarcass4 = TriggerCreate("gt_GhostTownExitCarcass4_Func");
TriggerAddEventUnitRangePoint(gt_GhostTownExitCarcass4, null, RegionGetCenter(RegionFromId(46)), 5.0, true);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1761
UnitIssueOrder(auto2D370052_var, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(2177)), c_orderQueueReplace);
}
MinimapPing(PlayerGroupAll(), RegionGetCenter(RegionFromId(6)), 3.0, Color(100.00, 0.00, 0.00));
UIAlertPoint("Trigger", gv_p1_USER, StringExternal("Param/Value/ED89FBB2"), null, RegionGetCenter(RegionFromId(6)));
TransmissionWait(TransmissionLastSent(), 0.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1762
}
MinimapPing(PlayerGroupAll(), RegionGetCenter(RegionFromId(6)), 3.0, Color(100.00, 0.00, 0.00));
UIAlertPoint("Trigger", gv_p1_USER, StringExternal("Param/Value/ED89FBB2"), null, RegionGetCenter(RegionFromId(6)));
TransmissionWait(TransmissionLastSent(), 0.0);
libNtve_gf_AttachActorToUnit(gv_raynor, "TalkIcon", "Ref_Origin");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2153
Wait(2.0, c_timeGame);
TriggerQueueEnter();
UIAlertPoint("Trigger", gv_p1_USER, StringExternal("Param/Value/EE3C9CCF"), null, RegionGetCenter(RegionFromId(19)));
VisRevealArea(gv_p1_USER, RegionFromId(19), 7.0, true);
libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2660
}
else {
UnitGroupIssueOrder(gv_escapeCivilians, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(RegionFromId(5))), c_orderQueueAddToEnd);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1067
gf_CreateInfoText(UnitCargoLastCreated());
UnitIssueOrder(gv_supplyDropship, OrderTargetingPoint(AbilityCommand("SpecOpsDropshipTransport", 2), PointFromId(32)), c_orderQueueReplace);
UnitIssueOrder(gv_supplyDropship, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(31))), c_orderQueueAddToEnd);
TriggerEnable(gt_SupplySafetyTXT, true);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1260
gv_sCVReinforcement = UnitCargoLastCreatedGroup();
UnitIssueOrder(gv_sCVDropship, OrderTargetingPoint(AbilityCommand("SpecOpsDropshipTransport", 2), PointFromId(688)), c_orderQueueReplace);
UnitIssueOrder(gv_sCVDropship, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(31))), c_orderQueueAddToEnd);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1718
UnitGroupIssueOrder(lv_dominionAttackSquad, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(gv_medicBarracks)), c_orderQueueAddToEnd);
UnitGroupIssueOrder(lv_dominionAttackSquad, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(622)), c_orderQueueAddToEnd);
UnitGroupIssueOrder(lv_dominionAttackSquad, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(RegionFromId(22))), c_orderQueueAddToEnd);
while (!((libNtve_gf_UnitGroupIsDead(lv_dominionAttackSquad) == true))) {
Wait(1.0, c_timeAI);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:2534
if ((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionFromId(15), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0)) {
lv_target = UnitGetPosition(libNtve_gf_ClosestUnitToPoint(RegionGetCenter(RegionFromId(15)), UnitGroup(null, gv_pLAYER_01_USER, RegionFromId(15), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)));
auto988C8ED7_ae = gv_dominionGuardsSize;
lv_i = 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:2604
if ((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionFromId(20), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0)) {
lv_target = UnitGetPosition(libNtve_gf_ClosestUnitToPoint(RegionGetCenter(RegionFromId(20)), UnitGroup(null, gv_pLAYER_01_USER, RegionFromId(15), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)));
autoD2FCF587_ae = gv_dominionGuardsSize;
lv_i = 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:2770
autoB7737390_n = gv_mineGuardPairs;
for (autoB7737390_i = 1; autoB7737390_i <= autoB7737390_n; autoB7737390_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(2, "Marine", 0, gv_pLAYER_05_PATROL, RegionGetCenter(RegionFromId(9)));
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_mineGuardGroup);
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(620)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:2833
if (auto30D82335_var == null) { break; }
UnitIssueOrder(auto30D82335_var, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(620)), c_orderQueueReplace);
UnitIssueOrder(auto30D82335_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(RegionFromId(9))), c_orderQueueAddToEnd);
}
while (true) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:2845
autoFB99CCD1_var = UnitGroupUnitFromEnd(autoFB99CCD1_g, autoFB99CCD1_u);
if (autoFB99CCD1_var == null) { break; }
if ((RegionContainsPoint(RegionCircle(RegionGetCenter(RegionFromId(9)), 2.0), UnitGetPosition(autoFB99CCD1_var)) == true)) {
UnitIssueOrder(autoFB99CCD1_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(RegionFromId(9))), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:2846
if (autoFB99CCD1_var == null) { break; }
if ((RegionContainsPoint(RegionCircle(RegionGetCenter(RegionFromId(9)), 2.0), UnitGetPosition(autoFB99CCD1_var)) == true)) {
UnitIssueOrder(autoFB99CCD1_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionGetCenter(RegionFromId(9))), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:3227
auto21AEEC4F_var = UnitGroupUnitFromEnd(auto21AEEC4F_g, auto21AEEC4F_u);
if (auto21AEEC4F_var == null) { break; }
UnitIssueOrder(auto21AEEC4F_var, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(16))), c_orderQueueReplace);
}
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:36
// Implementation
lv_radius = (AbsF((PointGetX(RegionGetBoundsMax(lp_circle)) - PointGetX(RegionGetBoundsMin(lp_circle)))) / 2.0);
return PointWithOffsetPolar(RegionGetCenter(lp_circle), RandomFixed(0.0, lv_radius), libNtve_gf_RandomAngle());
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1964
if (auto3AF44449_var == null) { break; }
libNtve_gf_ShareVisionofUnit(auto3AF44449_var, true, gv_pLAYER01_USER);
libNtve_gf_MakeUnitFacePoint(auto3AF44449_var, RegionGetCenter(RegionFromId(72)), 0.0);
}
TriggerEnable(gt_RebelMarines01Rescued, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1970
TriggerExecute(gt_TransmissionRebelMarines01MaydayQ, true, true);
if ((gv_rebelMarinesFound01 == false) && (libNtve_gf_UnitGroupIsDead(gv_rebelMarines01) == false)) {
MinimapPing(PlayerGroupSingle(gv_pLAYER01_USER), RegionGetCenter(RegionFromId(72)), 6.0, Color(100.00, 100.00, 0.00));
UIAlertPoint("Trigger", gv_pLAYER01_USER, StringExternal("Param/Value/DC769176"), null, RegionGetCenter(RegionFromId(72)));
libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(gv_pLAYER01_USER), "PingObjective", RegionGetCenter(RegionFromId(72)), ColorWithAlpha(100.00, 100.00, 0.00, 0.00), 0.0, 270.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1971
if ((gv_rebelMarinesFound01 == false) && (libNtve_gf_UnitGroupIsDead(gv_rebelMarines01) == false)) {
MinimapPing(PlayerGroupSingle(gv_pLAYER01_USER), RegionGetCenter(RegionFromId(72)), 6.0, Color(100.00, 100.00, 0.00));
UIAlertPoint("Trigger", gv_pLAYER01_USER, StringExternal("Param/Value/DC769176"), null, RegionGetCenter(RegionFromId(72)));
libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(gv_pLAYER01_USER), "PingObjective", RegionGetCenter(RegionFromId(72)), ColorWithAlpha(100.00, 100.00, 0.00, 0.00), 0.0, 270.0);
gv_rebelMarinesPing1 = PingLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:1972
MinimapPing(PlayerGroupSingle(gv_pLAYER01_USER), RegionGetCenter(RegionFromId(72)), 6.0, Color(100.00, 100.00, 0.00));
UIAlertPoint("Trigger", gv_pLAYER01_USER, StringExternal("Param/Value/DC769176"), null, RegionGetCenter(RegionFromId(72)));
libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(gv_pLAYER01_USER), "PingObjective", RegionGetCenter(RegionFromId(72)), ColorWithAlpha(100.00, 100.00, 0.00, 0.00), 0.0, 270.0);
gv_rebelMarinesPing1 = PingLastCreated();
PingSetScale(gv_rebelMarinesPing1, 0.85);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2042
if (auto438DA7F7_var == null) { break; }
libNtve_gf_ShareVisionofUnit(auto438DA7F7_var, true, gv_pLAYER01_USER);
libNtve_gf_MakeUnitFacePoint(auto438DA7F7_var, RegionGetCenter(RegionFromId(3)), 0.0);
}
TriggerEnable(gt_RebelMarines02Rescued, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2048
TriggerExecute(gt_TransmissionRebelMarines02MaydayQ, true, true);
if ((gv_rebelMarinesFound02 == false) && (libNtve_gf_UnitGroupIsDead(gv_rebelMarines02) == false)) {
MinimapPing(PlayerGroupSingle(gv_pLAYER01_USER), RegionGetCenter(RegionFromId(3)), 6.0, Color(100.00, 100.00, 0.00));
UIAlertPoint("Trigger", gv_pLAYER01_USER, StringExternal("Param/Value/14F8338E"), null, RegionGetCenter(RegionFromId(3)));
libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(gv_pLAYER01_USER), "PingObjective", RegionGetCenter(RegionFromId(3)), ColorWithAlpha(100.00, 100.00, 0.00, 0.00), 0.0, 270.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2049
if ((gv_rebelMarinesFound02 == false) && (libNtve_gf_UnitGroupIsDead(gv_rebelMarines02) == false)) {
MinimapPing(PlayerGroupSingle(gv_pLAYER01_USER), RegionGetCenter(RegionFromId(3)), 6.0, Color(100.00, 100.00, 0.00));
UIAlertPoint("Trigger", gv_pLAYER01_USER, StringExternal("Param/Value/14F8338E"), null, RegionGetCenter(RegionFromId(3)));
libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(gv_pLAYER01_USER), "PingObjective", RegionGetCenter(RegionFromId(3)), ColorWithAlpha(100.00, 100.00, 0.00, 0.00), 0.0, 270.0);
gv_rebelMarinesPing2 = PingLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2050
MinimapPing(PlayerGroupSingle(gv_pLAYER01_USER), RegionGetCenter(RegionFromId(3)), 6.0, Color(100.00, 100.00, 0.00));
UIAlertPoint("Trigger", gv_pLAYER01_USER, StringExternal("Param/Value/14F8338E"), null, RegionGetCenter(RegionFromId(3)));
libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(gv_pLAYER01_USER), "PingObjective", RegionGetCenter(RegionFromId(3)), ColorWithAlpha(100.00, 100.00, 0.00, 0.00), 0.0, 270.0);
gv_rebelMarinesPing2 = PingLastCreated();
PingSetScale(gv_rebelMarinesPing2, 0.85);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2131
if (auto5D91C950_var == null) { break; }
libNtve_gf_ShareVisionofUnit(auto5D91C950_var, true, gv_pLAYER01_USER);
libNtve_gf_MakeUnitFacePoint(auto5D91C950_var, RegionGetCenter(RegionFromId(71)), 0.0);
}
TriggerEnable(gt_RebelMarines03Rescued, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:2237
autoDFF77333_var = UnitGroupUnitFromEnd(autoDFF77333_g, autoDFF77333_u);
if (autoDFF77333_var == null) { break; }
UnitIssueOrder(autoDFF77333_var, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(18))), c_orderQueueReplace);
}
TriggerExecute(gt_AchievementAllReapersFound, true, false);