# Random Point In Region
Grammar — Random point in r
Flags —Native
|Function
Returns a random point in the specified region. For regions with multiple shapes, this is not guaranteed to work.
# Arguments
region
— Region
Returns — point
native point RegionRandomPoint(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:7262
auto16A612AD_n = 10;
for (auto16A612AD_i = 1; auto16A612AD_i <= auto16A612AD_n; auto16A612AD_i += 1) {
libNtve_gf_CreateModelAtPoint("ProtossLargeUnitDeath", RegionRandomPoint(lv_region));
ActorSend(libNtve_gf_ActorLastCreated(), libNtve_gf_SetHeight(lv_height));
libNtve_gf_KillModel(libNtve_gf_ActorLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:447
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);
auto142C38A1_g = lv_unitGroup;
auto142C38A1_u = UnitGroupCount(auto142C38A1_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1253
UnitGroupAdd(lv_zerglingGroup, UnitFromId(2440));
UnitGroupAdd(lv_zerglingGroup, UnitFromId(2442));
UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 1), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 2), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 3), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1254
UnitGroupAdd(lv_zerglingGroup, UnitFromId(2442));
UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 1), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 2), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 3), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
while (true) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1255
UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 1), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 2), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 3), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
while (true) {
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1414
autoE80840C1_var = UnitGroupUnitFromEnd(autoE80840C1_g, autoE80840C1_u);
if (autoE80840C1_var == null) { break; }
UnitIssueOrder(autoE80840C1_var, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(14))), c_orderQueueReplace);
}
if ((lv_timeTick < 20)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:4449
if ((UnitGetType(auto39DB8839_var) == "Overseer")) {
UnitIssueOrder(auto39DB8839_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(16))), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:6408
for (autoC6444FA3_i = 1; autoC6444FA3_i <= autoC6444FA3_n; autoC6444FA3_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Zergling", 0, gv_p2_ZERG_ORANGE_NW, RegionRandomPoint(RegionFromId(19)));
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(2613)), c_orderQueueReplace);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(2841)), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:6414
}
for (autoB8B4D139_i = 1; autoB8B4D139_i <= autoB8B4D139_n; autoB8B4D139_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Mutalisk", 0, gv_p2_ZERG_ORANGE_NW, RegionRandomPoint(RegionFromId(26)));
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionCircle(PointFromId(1328), 8.0))), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:6415
for (autoB8B4D139_i = 1; autoB8B4D139_i <= autoB8B4D139_n; autoB8B4D139_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Mutalisk", 0, gv_p2_ZERG_ORANGE_NW, RegionRandomPoint(RegionFromId(26)));
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionCircle(PointFromId(1328), 8.0))), c_orderQueueReplace);
}
gf_SpoogeAreawithTumor(PointFromId(1455));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:6424
Wait(1.0, c_timeGame);
for (autoA68CDDAA_i = 1; autoA68CDDAA_i <= autoA68CDDAA_n; autoA68CDDAA_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Corruptor", 0, gv_p2_ZERG_ORANGE_NW, RegionRandomPoint(RegionFromId(26)));
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionCircle(PointFromId(2840), 8.0))), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:457
// Implementation
UnitCreate(lp_number, lp_unitType, 0, gv_pLAYER_04_INFESTEDREFUGEES, RegionRandomPoint(lp_spawnRegion), libNtve_gf_RandomAngle());
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_lastGroup);
UnitGroupIssueOrder(lv_lastGroup, Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4923
lv_i = 1;
for ( ; ( (auto9980B5B2_ai >= 0 && lv_i <= auto9980B5B2_ae) || (auto9980B5B2_ai < 0 && lv_i >= auto9980B5B2_ae) ) ; lv_i += auto9980B5B2_ai ) {
UnitCreate(1, "InfestedCivilian", 0, gv_pLAYER_04_INFESTEDREFUGEES, RegionRandomPoint(RegionFromId(44)), libNtve_gf_RandomAngle());
UnitGroupAdd(lv_tempUnitGroup, UnitLastCreated());
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4941
lv_i = 1;
for ( ; ( (auto5F96F25C_ai >= 0 && lv_i <= auto5F96F25C_ae) || (auto5F96F25C_ai < 0 && lv_i >= auto5F96F25C_ae) ) ; lv_i += auto5F96F25C_ai ) {
UnitCreate(1, "InfestedCivilian", 0, gv_pLAYER_04_INFESTEDREFUGEES, RegionRandomPoint(RegionFromId(45)), libNtve_gf_RandomAngle());
UnitGroupAdd(lv_tempUnitGroup, UnitLastCreated());
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:4949
autoC97EAC7D_var = UnitGroupUnitFromEnd(autoC97EAC7D_g, autoC97EAC7D_u);
if (autoC97EAC7D_var == null) { break; }
UnitIssueOrder(autoC97EAC7D_var, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(45))), c_orderQueueReplace);
}
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(232), 0.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:5264
}
libNtve_gf_CreateUnitsAtPoint2(7, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(29)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(230)), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(6, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(30)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:5266
libNtve_gf_CreateUnitsAtPoint2(7, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(29)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(230)), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(6, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(30)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(230)), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(7, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(31)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:5268
libNtve_gf_CreateUnitsAtPoint2(6, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(30)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(230)), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(7, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(31)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(230)), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(6, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(32)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:5270
libNtve_gf_CreateUnitsAtPoint2(7, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(31)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(230)), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(6, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(32)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(230)), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(6, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(33)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:5272
libNtve_gf_CreateUnitsAtPoint2(6, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(32)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(230)), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(6, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(33)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(230)), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(6, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(35)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:5274
libNtve_gf_CreateUnitsAtPoint2(6, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(33)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(230)), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(6, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(35)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(230)), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(7, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionRandomPoint(RegionFromId(37)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6009
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3537));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 2, "");
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6010
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 2, "");
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6011
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6012
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6013
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6014
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
UnitCreate(3, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6015
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
UnitCreate(3, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6016
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
UnitCreate(3, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(27)), libNtve_gf_RandomAngle());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6017
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
UnitCreate(3, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(27)), libNtve_gf_RandomAngle());
UnitCreate(2, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(27)), libNtve_gf_RandomAngle());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6018
UnitCreate(3, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(27)), libNtve_gf_RandomAngle());
UnitCreate(2, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(27)), libNtve_gf_RandomAngle());
libNtve_gf_CreateUnitsAtPoint2(2, "Marine", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2364));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:311
auto844ECF0C_n = lp_melee;
for (auto844ECF0C_i = 1; auto844ECF0C_i <= auto844ECF0C_n; auto844ECF0C_i += 1) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "InfestedCivilianBurrowed", 0, gv_p03_VIROPHAGE, RegionRandomPoint(gv_infestationRegion[lp_colony]));
libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_p01_USER);
UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowInfestedCivilianUp", 0)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:319
auto4F8FA54E_n = lp_marine;
for (auto4F8FA54E_i = 1; auto4F8FA54E_i <= auto4F8FA54E_n; auto4F8FA54E_i += 1) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "InfestedTerranCampaignBurrowed", 0, gv_p03_VIROPHAGE, RegionRandomPoint(gv_infestationRegion[lp_colony]));
libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_p01_USER);
UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:335
auto017A7127_n = lp_qty;
for (auto017A7127_i = 1; auto017A7127_i <= auto017A7127_n; auto017A7127_i += 1) {
UnitCreate(1, lp_type, 0, gv_p03_VIROPHAGE, RegionRandomPoint(RegionCircle(UnitGetPosition(gv_infestationVirophageUnit[lp_colonyIndex]), 5.0)), libNtve_gf_RandomAngle());
UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowDroneUp", 0)), c_orderQueueReplace);
}
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:4005
TriggerEnable(gt_Briefing00LikeCattletotheSlaughter, true);
for (auto6C07714A_i = 1; auto6C07714A_i <= auto6C07714A_n; auto6C07714A_i += 1) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Civilian", 0, gv_p05_COLONIST, RegionRandomPoint(RegionFromId(6)));
}
for (auto70FBC284_i = 1; auto70FBC284_i <= auto70FBC284_n; auto70FBC284_i += 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4008
}
for (auto70FBC284_i = 1; auto70FBC284_i <= auto70FBC284_n; auto70FBC284_i += 1) {
UnitIssueOrder(UnitGroupRandomUnit(UnitGroup(null, gv_p05_COLONIST, RegionFromId(6), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(6))), c_orderQueueReplace);
}
TriggerEnable(gt_Briefing00RunLolaRun, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4217
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(392)), c_orderQueueReplace);
for (auto10729A37_i = 1; auto10729A37_i <= auto10729A37_n; auto10729A37_i += 1) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "InfestedCivilian", 0, gv_p03_VIROPHAGE, RegionRandomPoint(RegionFromId(55)));
UnitGroupAdd(lv_attackGroup, UnitLastCreated());
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4220
UnitGroupAdd(lv_attackGroup, UnitLastCreated());
}
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Zergling", 0, gv_p03_VIROPHAGE, RegionRandomPoint(RegionFromId(55)));
UnitGroupAdd(lv_attackGroup, UnitLastCreated());
UnitGroupIssueOrder(lv_attackGroup, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(292)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4273
}
for (auto6B751010_i = 1; auto6B751010_i <= auto6B751010_n; auto6B751010_i += 1) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Feederling", 0, gv_p07_ZERG_INFESTED, RegionRandomPoint(RegionFromId(9)));
UnitSetState(UnitLastCreated(), c_unitStateSelectable, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2300
auto9BF3A280_n = gv_trainMinerals[libNtve_gf_DifficultyValueInt(1, 2, 3, 4)][MinI(gv_trainsDestroyed, 7)];
for (auto9BF3A280_i = 1; auto9BF3A280_i <= auto9BF3A280_n; auto9BF3A280_i += 1) {
UnitCreate(1, "PalletMinerals", 0, 0, RegionRandomPoint(RegionCircle(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[RandomInt(1, gv_trainList[lv_trainIndex].lv_lastCar)]), 2.0)), RandomFixed(0.0, 360.0));
libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_pLAYER_01_USER);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2305
auto475F7BBB_n = gv_trainGas;
for (auto475F7BBB_i = 1; auto475F7BBB_i <= auto475F7BBB_n; auto475F7BBB_i += 1) {
UnitCreate(1, "PalletGas", 0, 0, RegionRandomPoint(RegionCircle(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[RandomInt(1, gv_trainList[lv_trainIndex].lv_lastCar)]), 2.0)), RandomFixed(0.0, 360.0));
libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_pLAYER_01_USER);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2312
lv_trainMidPoint = (gv_trainList[lv_trainIndex].lv_lastCar / 2);
lv_trainMidPoint += 1;
UnitCreate(1, "AdjutantCapsule", 0, 0, RegionRandomPoint(RegionCircle(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[lv_trainMidPoint]), 2.0)), (UnitGetFacing(gv_trainList[lv_trainIndex].lv_trainCars[lv_trainMidPoint]) - 90.0));
libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "AnimClear Birth");
libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "AnimClear Morph");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1858
}
libNtve_gf_UnitCreateFacingPoint(1, "PortJunker", 0, gv_p06_JUNKERS, RegionRandomPoint(RegionFromId(28)), PointFromId(838));
gv_junker_NE = UnitLastCreated();
UnitIssueOrder(gv_junker_NE, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(838)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1863
UnitIssueOrder(gv_junker_NE, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(840)), c_orderQueueAddToEnd);
UnitIssueOrder(gv_junker_NE, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(841)), c_orderQueueAddToEnd);
UnitIssueOrder(gv_junker_NE, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(32))), c_orderQueueAddToEnd);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1910
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(842)), c_orderQueueReplace);
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(843)), c_orderQueueAddToEnd);
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(33))), c_orderQueueAddToEnd);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1957
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(844)), c_orderQueueReplace);
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(845)), c_orderQueueAddToEnd);
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(34))), c_orderQueueAddToEnd);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:2064
}
libNtve_gf_UnitCreateFacingPoint(1, "PortJunker", 0, gv_p06_JUNKERS, RegionRandomPoint(RegionFromId(29)), PointFromId(847));
gv_junker_S = UnitLastCreated();
UnitIssueOrder(gv_junker_S, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(847)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:2068
UnitIssueOrder(gv_junker_S, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(847)), c_orderQueueReplace);
UnitIssueOrder(gv_junker_S, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(848)), c_orderQueueAddToEnd);
UnitIssueOrder(gv_junker_S, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(36))), c_orderQueueAddToEnd);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:2116
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(850)), c_orderQueueAddToEnd);
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(851)), c_orderQueueAddToEnd);
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueAddToEnd);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:2163
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(852)), c_orderQueueReplace);
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(853)), c_orderQueueAddToEnd);
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(35))), c_orderQueueAddToEnd);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:2226
gv_junker_W = UnitFromId(818);
UnitIssueOrder(gv_junker_W, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(38))), c_orderQueueAddToEnd);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:2274
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(857)), c_orderQueueAddToEnd);
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(858)), c_orderQueueAddToEnd);
UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(40))), c_orderQueueAddToEnd);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:7138
Wait(5.0, c_timeGame);
for (autoCAF0B488_i = 1; autoCAF0B488_i <= autoCAF0B488_n; autoCAF0B488_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p06_CIVILIANS, RegionRandomPoint(RegionFromId(31)));
UnitBehaviorAdd(UnitLastCreated(), "CivilianEnableWeapon", UnitLastCreated(), 1);
UnitBehaviorAdd(UnitLastCreated(), "Run", UnitLastCreated(), 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:7144
}
for (auto93865D6C_i = 1; auto93865D6C_i <= auto93865D6C_n; auto93865D6C_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p06_CIVILIANS, RegionRandomPoint(RegionFromId(31)));
UnitBehaviorAdd(UnitLastCreated(), "CivilianEnableWeapon", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1219)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:7149
}
for (auto80749DD1_i = 1; auto80749DD1_i <= auto80749DD1_n; auto80749DD1_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p06_CIVILIANS, RegionRandomPoint(RegionFromId(3)));
UnitBehaviorAdd(UnitLastCreated(), "CivilianEnableWeapon", UnitLastCreated(), 1);
UnitBehaviorAdd(UnitLastCreated(), "Run", UnitLastCreated(), 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:7155
}
for (auto5D3758A5_i = 1; auto5D3758A5_i <= auto5D3758A5_n; auto5D3758A5_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p06_CIVILIANS, RegionRandomPoint(RegionFromId(3)));
UnitBehaviorAdd(UnitLastCreated(), "CivilianEnableWeapon", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1219)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:7160
}
for (autoCDBC80B9_i = 1; autoCDBC80B9_i <= autoCDBC80B9_n; autoCDBC80B9_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p06_CIVILIANS, RegionRandomPoint(RegionFromId(33)));
UnitBehaviorAdd(UnitLastCreated(), "CivilianEnableWeapon", UnitLastCreated(), 1);
UnitBehaviorAdd(UnitLastCreated(), "Run", UnitLastCreated(), 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:7166
}
for (autoAD9A938D_i = 1; autoAD9A938D_i <= autoAD9A938D_n; autoAD9A938D_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p06_CIVILIANS, RegionRandomPoint(RegionFromId(33)));
UnitBehaviorAdd(UnitLastCreated(), "CivilianEnableWeapon", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1132)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:7171
}
for (autoEA5FC2B9_i = 1; autoEA5FC2B9_i <= autoEA5FC2B9_n; autoEA5FC2B9_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p06_CIVILIANS, RegionRandomPoint(RegionFromId(5)));
UnitBehaviorAdd(UnitLastCreated(), "CivilianEnableWeapon", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1219)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:7176
}
for (auto776E3F06_i = 1; auto776E3F06_i <= auto776E3F06_n; auto776E3F06_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p06_CIVILIANS, RegionRandomPoint(RegionFromId(39)));
UnitBehaviorAdd(UnitLastCreated(), "CivilianEnableWeapon", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1219)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:4502
autoCC094DED_var = UnitGroupUnitFromEnd(autoCC094DED_g, autoCC094DED_u);
if (autoCC094DED_var == null) { break; }
UnitIssueOrder(autoCC094DED_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(126))), c_orderQueueReplace);
}
autoE20FB2BA_g = gv_lab02PrisonerUnitGroup;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:4509
autoE20FB2BA_var = UnitGroupUnitFromEnd(autoE20FB2BA_g, autoE20FB2BA_u);
if (autoE20FB2BA_var == null) { break; }
UnitIssueOrder(autoE20FB2BA_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(126))), c_orderQueueReplace);
}
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9206
}
UnitIssueOrder(EventUnit(), OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(52))), c_orderQueueReplace);
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9484
autoD3D75B12_var = UnitGroupUnitFromEnd(autoD3D75B12_g, autoD3D75B12_u);
if (autoD3D75B12_var == null) { break; }
UnitIssueOrder(autoD3D75B12_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(112))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9492
autoE1CD9104_var = UnitGroupUnitFromEnd(autoE1CD9104_g, autoE1CD9104_u);
if (autoE1CD9104_var == null) { break; }
UnitIssueOrder(autoE1CD9104_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(51))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9500
autoD860B59B_var = UnitGroupUnitFromEnd(autoD860B59B_g, autoD860B59B_u);
if (autoD860B59B_var == null) { break; }
UnitIssueOrder(autoD860B59B_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(47))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9508
autoEFECE46F_var = UnitGroupUnitFromEnd(autoEFECE46F_g, autoEFECE46F_u);
if (autoEFECE46F_var == null) { break; }
UnitIssueOrder(autoEFECE46F_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(103))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9516
auto4046689C_var = UnitGroupUnitFromEnd(auto4046689C_g, auto4046689C_u);
if (auto4046689C_var == null) { break; }
UnitIssueOrder(auto4046689C_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(55))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9524
autoC277B8BF_var = UnitGroupUnitFromEnd(autoC277B8BF_g, autoC277B8BF_u);
if (autoC277B8BF_var == null) { break; }
UnitIssueOrder(autoC277B8BF_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(56))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:9532
autoF664984A_var = UnitGroupUnitFromEnd(autoF664984A_g, autoF664984A_u);
if (autoF664984A_var == null) { break; }
UnitIssueOrder(autoF664984A_var, OrderTargetingRelativePoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(57))), c_orderQueueReplace);
}
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2503
UnitBehaviorRemove(auto5F9AFFD9_var, "Run", 1);
}
UnitGroupIssueOrder(gv_escapeCivilians, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(94))), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(888));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 1, "male,01");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2783
if (autoAE00C3A6_var == null) { break; }
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(autoAE00C3A6_var), c_animNameDefault);
UnitIssueOrder(autoAE00C3A6_var, OrderTargetingPoint(AbilityCommand("attack", 0), RegionRandomPoint(RegionFromId(17))), c_orderQueueReplace);
}
TriggerQueueEnter();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:3064
auto1DC2F67E_val = RandomInt(0, 2);
if (auto1DC2F67E_val == 0) {
UnitIssueOrder(UnitFromId(10), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(23))), c_orderQueueReplace);
}
else if (auto1DC2F67E_val == 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:3067
}
else if (auto1DC2F67E_val == 1) {
UnitIssueOrder(UnitFromId(628), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(23))), c_orderQueueReplace);
}
else if (auto1DC2F67E_val == 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:3070
}
else if (auto1DC2F67E_val == 1) {
UnitIssueOrder(UnitFromId(323), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(23))), c_orderQueueReplace);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:3078
auto937DAFB3_val = RandomInt(0, 2);
if (auto937DAFB3_val == 0) {
UnitIssueOrder(UnitFromId(719), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(60))), c_orderQueueReplace);
}
else if (auto937DAFB3_val == 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:3081
}
else if (auto937DAFB3_val == 1) {
UnitIssueOrder(UnitFromId(677), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(60))), c_orderQueueReplace);
}
else if (auto937DAFB3_val == 2) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:3084
}
else if (auto937DAFB3_val == 2) {
UnitIssueOrder(UnitFromId(277), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(60))), c_orderQueueReplace);
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:5810
UnitSetFacing(gv_raynor, 225.0, 0.0);
for (auto8C1614BF_i = 1; auto8C1614BF_i <= auto8C1614BF_n; auto8C1614BF_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, RegionRandomPoint(RegionFromId(25)));
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
gv_riksvillePopulation += 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:5815
}
for (autoEE15E776_i = 1; autoEE15E776_i <= autoEE15E776_n; autoEE15E776_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "CivilianFemale", 0, gv_p3_RIKSVILLE_YELLOW, RegionRandomPoint(RegionFromId(25)));
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
gv_riksvillePopulation += 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:3277
if ((RandomInt(1, 4) == 1)) {
UnitIssueOrder(lv_miner, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(6))), c_orderQueueReplace);
Wait(2.0, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:3337
if ((RandomInt(1, 4) == 1)) {
UnitIssueOrder(lv_miner, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(10))), c_orderQueueReplace);
Wait(2.0, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:3397
if ((RandomInt(1, 4) == 1)) {
UnitIssueOrder(lv_miner, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(13))), c_orderQueueReplace);
Wait(2.0, c_timeGame);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:5177
UnitIssueOrder(gv_victoryHyperion, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(866)), c_orderQueueAddToEnd);
for (auto0A382049_i = 1; auto0A382049_i <= auto0A382049_n; auto0A382049_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Zergling", 0, gv_pLAYER02_ZERG, RegionRandomPoint(RegionFromId(6)));
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(16)), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:5181
}
for (auto243EB627_i = 1; auto243EB627_i <= auto243EB627_n; auto243EB627_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Zergling", 0, gv_pLAYER02_ZERG, RegionRandomPoint(RegionFromId(6)));
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(16)), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:5185
}
for (autoF0DF740E_i = 1; autoF0DF740E_i <= autoF0DF740E_n; autoF0DF740E_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Zergling", 0, gv_pLAYER02_ZERG, RegionRandomPoint(RegionFromId(7)));
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(16)), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:5189
}
for (auto9050C9D7_i = 1; auto9050C9D7_i <= auto9050C9D7_n; auto9050C9D7_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Zergling", 0, gv_pLAYER02_ZERG, RegionRandomPoint(RegionFromId(7)));
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(16)), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:5437
for (autoD9DF8841_i = 1; autoD9DF8841_i <= autoD9DF8841_n; autoD9DF8841_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Mutalisk", 0, gv_pLAYER02_ZERG, RegionRandomPoint(RegionFromId(8)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(12))), c_orderQueueReplace);
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_victoryHyperion), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:5438
for (autoD9DF8841_i = 1; autoD9DF8841_i <= autoD9DF8841_n; autoD9DF8841_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Mutalisk", 0, gv_pLAYER02_ZERG, RegionRandomPoint(RegionFromId(8)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(12))), c_orderQueueReplace);
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_victoryHyperion), c_orderQueueAddToEnd);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:5442
}
for (auto3B0968D2_i = 1; auto3B0968D2_i <= auto3B0968D2_n; auto3B0968D2_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Mutalisk", 0, gv_pLAYER02_ZERG, RegionRandomPoint(RegionFromId(10)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(20))), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:5443
for (auto3B0968D2_i = 1; auto3B0968D2_i <= auto3B0968D2_n; auto3B0968D2_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Mutalisk", 0, gv_pLAYER02_ZERG, RegionRandomPoint(RegionFromId(10)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(20))), c_orderQueueReplace);
}
CameraApplyInfo(gv_pLAYER01_USER, CameraInfoFromId(787), 20.0, -1, 10, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:5448
Wait(4.0, c_timeGame);
for (auto57C0FD92_i = 1; auto57C0FD92_i <= auto57C0FD92_n; auto57C0FD92_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Mutalisk", 0, gv_pLAYER02_ZERG, RegionRandomPoint(RegionFromId(9)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(31))), c_orderQueueReplace);
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_victoryHyperion), c_orderQueueAddToEnd);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:5449
for (auto57C0FD92_i = 1; auto57C0FD92_i <= auto57C0FD92_n; auto57C0FD92_i += 1) {
libNtve_gf_CreateUnitsAtPoint2(1, "Mutalisk", 0, gv_pLAYER02_ZERG, RegionRandomPoint(RegionFromId(9)));
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(31))), c_orderQueueReplace);
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_victoryHyperion), c_orderQueueAddToEnd);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:1238
UnitSetCustomValue(lv_u, 1, PointGetX(UnitGetPosition(lv_u)));
UnitSetCustomValue(lv_u, 2, PointGetY(UnitGetPosition(lv_u)));
UnitIssueOrder(lv_u, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(gv_critterHavens[lv_index])), c_orderQueueReplace);
UnitIssueOrder(lv_u, Order(AbilityCommand("RedstoneLavaCritterBurrow", 0)), c_orderQueueAddToEnd);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:5124
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
for (auto3F5C4282_i = 1; auto3F5C4282_i <= auto3F5C4282_n; auto3F5C4282_i += 1) {
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);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:5129
}
for (auto407E93C5_i = 1; auto407E93C5_i <= auto407E93C5_n; auto407E93C5_i += 1) {
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);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:4063
while (true) {
if ((RandomInt(1, 3) == 1)) {
libNtve_gf_CreateUnitsAtPoint2(1, "Stalker", 0, gv_p2_PROTOSS_EAST_ATTACKERS, RegionRandomPoint(RegionFromId(17)));
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:4066
}
else {
libNtve_gf_CreateUnitsAtPoint2(1, "Zealot", 0, gv_p2_PROTOSS_EAST_ATTACKERS, RegionRandomPoint(RegionFromId(17)));
}
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1720)), c_orderQueueReplace);