# Random Point Between Points
Grammar — Random point between point1 and point2
Flags —Function
Returns a random point along the line segment connecting the specified points.
# Arguments
point
— Point 1point
— Point 2
Returns — point
point libNtve_gf_RandomPointBetweenPoints(
point lp_point1,
point lp_point2,
);
# Related
Category: Point / Offsets
- Point Facing Angle —
point
— libNtve_gf_PointFacingAngle - Point With Z Offset —
point
— libNtve_gf_PointWithZOffset - Point With Offset —
point
— PointWithOffset - Point With Polar Offset —
point
— PointWithOffsetPolar - Point Offset Towards Point —
point
— libNtve_gf_PointOffsetTowardsPoint - Random Point Between Points —
point
— libNtve_gf_RandomPointBetweenPoints - Reflected Point —
point
— PointReflect - Interpolated Point —
point
— PointInterpolate - Mid-Point —
point
— MidPoint
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:4445
if (auto39DB8839_var == null) { break; }
if ((UnitGetType(auto39DB8839_var) == "Mutalisk")) {
UnitIssueOrder(auto39DB8839_var, OrderTargetingPoint(AbilityCommand("attack", 0), libNtve_gf_RandomPointBetweenPoints(PointFromId(808), PointFromId(1098))), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3848
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(806))), c_orderQueueAddToEnd);
if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1)) {
UnitCreate(1, "Raven", 0, gv_p08_DOMINION, libNtve_gf_RandomPointBetweenPoints(PointFromId(876), PointFromId(964)), 270.0);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
AIAttackWaveSetGatherPoint(gv_p08_DOMINION, UnitGetPosition(UnitFromId(806)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3994
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(807))), c_orderQueueAddToEnd);
if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1)) {
UnitCreate(1, "Raven", 0, gv_p08_DOMINION, libNtve_gf_RandomPointBetweenPoints(PointFromId(572), PointFromId(591)), 270.0);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
AIAttackWaveSetGatherPoint(gv_p08_DOMINION, UnitGetPosition(UnitFromId(807)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2616
if ((UnitGroupCount(lv_intruderGroup, c_unitCountAlive) > 0)) {
UnitSetCustomValue(lv_scientist, 0, 1.0);
lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_intruderGroup, 1))) + 180.0)));
UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2672
if ((UnitGroupCount(lv_brutaliskGroup, c_unitCountAlive) > 0)) {
UnitSetCustomValue(lv_scientist, 0, 1.0);
lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_brutaliskGroup, 1))) + 180.0)));
UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2728
if ((UnitGroupCount(lv_hybridGroup, c_unitCountAlive) > 0)) {
UnitSetCustomValue(lv_scientist, 0, 1.0);
lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_hybridGroup, 1))) + 180.0)));
UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:4445
if (auto39DB8839_var == null) { break; }
if ((UnitGetType(auto39DB8839_var) == "Mutalisk")) {
UnitIssueOrder(auto39DB8839_var, OrderTargetingPoint(AbilityCommand("attack", 0), libNtve_gf_RandomPointBetweenPoints(PointFromId(808), PointFromId(1098))), c_orderQueueReplace);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:3848
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(806))), c_orderQueueAddToEnd);
if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1)) {
UnitCreate(1, "Raven", 0, gv_p08_DOMINION, libNtve_gf_RandomPointBetweenPoints(PointFromId(876), PointFromId(964)), 270.0);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
AIAttackWaveSetGatherPoint(gv_p08_DOMINION, UnitGetPosition(UnitFromId(806)));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:3994
UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(807))), c_orderQueueAddToEnd);
if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1)) {
UnitCreate(1, "Raven", 0, gv_p08_DOMINION, libNtve_gf_RandomPointBetweenPoints(PointFromId(572), PointFromId(591)), 270.0);
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
AIAttackWaveSetGatherPoint(gv_p08_DOMINION, UnitGetPosition(UnitFromId(807)));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:2616
if ((UnitGroupCount(lv_intruderGroup, c_unitCountAlive) > 0)) {
UnitSetCustomValue(lv_scientist, 0, 1.0);
lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_intruderGroup, 1))) + 180.0)));
UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:2672
if ((UnitGroupCount(lv_brutaliskGroup, c_unitCountAlive) > 0)) {
UnitSetCustomValue(lv_scientist, 0, 1.0);
lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_brutaliskGroup, 1))) + 180.0)));
UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2map — MapScript.galaxy:2728
if ((UnitGroupCount(lv_hybridGroup, c_unitCountAlive) > 0)) {
UnitSetCustomValue(lv_scientist, 0, 1.0);
lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_hybridGroup, 1))) + 180.0)));
UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:7197
lv_zerglingIndex = 1;
for ( ; ( (autoD1144DEC_ai >= 0 && lv_zerglingIndex <= autoD1144DEC_ae) || (autoD1144DEC_ai < 0 && lv_zerglingIndex >= autoD1144DEC_ae) ) ; lv_zerglingIndex += autoD1144DEC_ai ) {
libNtve_gf_CreateUnitsAtPoint2(1, "Zergling", 0, gv_pLAYER_02_DOMINION, libNtve_gf_RandomPointBetweenPoints(PointFromId(3166), PointFromId(3167)));
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(3160)), c_orderQueueReplace);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:8758
lv_unitCreationIndex = 1;
for ( ; ( (auto5F76DA6D_ai >= 0 && lv_unitCreationIndex <= auto5F76DA6D_ae) || (auto5F76DA6D_ai < 0 && lv_unitCreationIndex >= auto5F76DA6D_ae) ) ; lv_unitCreationIndex += auto5F76DA6D_ai ) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(422), PointFromId(684)), 5.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_kERRIGAN), c_orderQueueReplace);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:8764
lv_unitCreationIndex = 1;
for ( ; ( (autoFC694F53_ai >= 0 && lv_unitCreationIndex <= autoFC694F53_ae) || (autoFC694F53_ai < 0 && lv_unitCreationIndex >= autoFC694F53_ae) ) ; lv_unitCreationIndex += autoFC694F53_ai ) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "VikingFighter", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(422), PointFromId(684)), 5.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_kERRIGAN), c_orderQueueReplace);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:8770
lv_unitCreationIndex = 1;
for ( ; ( (autoEE00B5A6_ai >= 0 && lv_unitCreationIndex <= autoEE00B5A6_ae) || (autoEE00B5A6_ai < 0 && lv_unitCreationIndex >= autoEE00B5A6_ae) ) ; lv_unitCreationIndex += autoEE00B5A6_ai ) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Corruptor", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(684), PointFromId(849)), 5.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_kERRIGAN), c_orderQueueReplace);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:8776
lv_unitCreationIndex = 1;
for ( ; ( (auto982CCD07_ai >= 0 && lv_unitCreationIndex <= auto982CCD07_ae) || (auto982CCD07_ai < 0 && lv_unitCreationIndex >= auto982CCD07_ae) ) ; lv_unitCreationIndex += auto982CCD07_ai ) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Mutalisk", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(684), PointFromId(849)), 5.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_kERRIGAN), c_orderQueueReplace);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:8780
UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_kERRIGAN), c_orderQueueReplace);
}
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Overseer", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(422), PointFromId(684)), 5.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Overseer", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(684), PointFromId(849)), 5.0)));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:8782
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Overseer", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(422), PointFromId(684)), 5.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Overseer", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(684), PointFromId(849)), 5.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
lv_unitCreationIndex = 1;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:8786
lv_unitCreationIndex = 1;
for ( ; ( (autoE58ACF61_ai >= 0 && lv_unitCreationIndex <= autoE58ACF61_ae) || (autoE58ACF61_ai < 0 && lv_unitCreationIndex >= autoE58ACF61_ae) ) ; lv_unitCreationIndex += autoE58ACF61_ai ) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Zergling", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(850), PointFromId(1355)), 3.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_kERRIGAN), c_orderQueueReplace);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:8977
}
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Zergling", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(850), PointFromId(1355)), 3.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_kERRIGAN), c_orderQueueReplace);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:7197
lv_zerglingIndex = 1;
for ( ; ( (autoD1144DEC_ai >= 0 && lv_zerglingIndex <= autoD1144DEC_ae) || (autoD1144DEC_ai < 0 && lv_zerglingIndex >= autoD1144DEC_ae) ) ; lv_zerglingIndex += autoD1144DEC_ai ) {
libNtve_gf_CreateUnitsAtPoint2(1, "Zergling", 0, gv_pLAYER_02_DOMINION, libNtve_gf_RandomPointBetweenPoints(PointFromId(3166), PointFromId(3167)));
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(3160)), c_orderQueueReplace);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:8758
lv_unitCreationIndex = 1;
for ( ; ( (auto5F76DA6D_ai >= 0 && lv_unitCreationIndex <= auto5F76DA6D_ae) || (auto5F76DA6D_ai < 0 && lv_unitCreationIndex >= auto5F76DA6D_ae) ) ; lv_unitCreationIndex += auto5F76DA6D_ai ) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "VoidRay", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(422), PointFromId(684)), 5.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_kERRIGAN), c_orderQueueReplace);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:8764
lv_unitCreationIndex = 1;
for ( ; ( (autoFC694F53_ai >= 0 && lv_unitCreationIndex <= autoFC694F53_ae) || (autoFC694F53_ai < 0 && lv_unitCreationIndex >= autoFC694F53_ae) ) ; lv_unitCreationIndex += autoFC694F53_ai ) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "VikingFighter", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(422), PointFromId(684)), 5.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_kERRIGAN), c_orderQueueReplace);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:8770
lv_unitCreationIndex = 1;
for ( ; ( (autoEE00B5A6_ai >= 0 && lv_unitCreationIndex <= autoEE00B5A6_ae) || (autoEE00B5A6_ai < 0 && lv_unitCreationIndex >= autoEE00B5A6_ae) ) ; lv_unitCreationIndex += autoEE00B5A6_ai ) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Corruptor", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(684), PointFromId(849)), 5.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_kERRIGAN), c_orderQueueReplace);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:8776
lv_unitCreationIndex = 1;
for ( ; ( (auto982CCD07_ai >= 0 && lv_unitCreationIndex <= auto982CCD07_ae) || (auto982CCD07_ai < 0 && lv_unitCreationIndex >= auto982CCD07_ae) ) ; lv_unitCreationIndex += auto982CCD07_ai ) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Mutalisk", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(684), PointFromId(849)), 5.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_kERRIGAN), c_orderQueueReplace);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:8780
UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_kERRIGAN), c_orderQueueReplace);
}
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Overseer", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(422), PointFromId(684)), 5.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Overseer", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(684), PointFromId(849)), 5.0)));
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:8782
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Overseer", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(422), PointFromId(684)), 5.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Overseer", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(684), PointFromId(849)), 5.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
lv_unitCreationIndex = 1;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:8786
lv_unitCreationIndex = 1;
for ( ; ( (autoE58ACF61_ai >= 0 && lv_unitCreationIndex <= autoE58ACF61_ae) || (autoE58ACF61_ai < 0 && lv_unitCreationIndex >= autoE58ACF61_ae) ) ; lv_unitCreationIndex += autoE58ACF61_ai ) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Zergling", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(850), PointFromId(1355)), 3.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_kERRIGAN), c_orderQueueReplace);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:8977
}
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Zergling", 0, gv_pLAYER_02_DOMINION3, RegionRandomPoint(RegionCircle(libNtve_gf_RandomPointBetweenPoints(PointFromId(850), PointFromId(1355)), 3.0)));
UnitBehaviorAdd(UnitLastCreated(), "VoidShade", UnitLastCreated(), 1);
UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(AbilityCommand("attack", 0), gv_kERRIGAN), c_orderQueueReplace);