# Width Of Region
Grammar — Width of region
Flags —Function
Returns the width of the specified region.
# Arguments
region
— Region
Returns — fixed
fixed libNtve_gf_WidthOfRegion(region lp_region);
# 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:7075
}
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:7075
}
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:7075
}
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:7075
}
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/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:732
// Implementation
lv_creepArea = gf_CreepAreaOnMap(1.0);
lv_mapArea = (libNtve_gf_WidthOfRegion(RegionPlayableMap()) * libNtve_gf_HeightOfRegion(RegionPlayableMap()));
return ((lv_creepArea / lv_mapArea) * 100);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:4761
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_03_TERRAN_TEAL, libNtve_ge_AllianceSetting_Enemy);
CreepModify(RegionGetCenter(RegionFromId(37)), (libNtve_gf_WidthOfRegion(RegionFromId(37)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(38)), (libNtve_gf_WidthOfRegion(RegionFromId(38)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(39)), (libNtve_gf_WidthOfRegion(RegionFromId(39)) / 2.0), true, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:4762
libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_03_TERRAN_TEAL, libNtve_ge_AllianceSetting_Enemy);
CreepModify(RegionGetCenter(RegionFromId(37)), (libNtve_gf_WidthOfRegion(RegionFromId(37)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(38)), (libNtve_gf_WidthOfRegion(RegionFromId(38)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(39)), (libNtve_gf_WidthOfRegion(RegionFromId(39)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(40)), (libNtve_gf_WidthOfRegion(RegionFromId(40)) / 2.0), true, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:4763
CreepModify(RegionGetCenter(RegionFromId(37)), (libNtve_gf_WidthOfRegion(RegionFromId(37)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(38)), (libNtve_gf_WidthOfRegion(RegionFromId(38)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(39)), (libNtve_gf_WidthOfRegion(RegionFromId(39)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(40)), (libNtve_gf_WidthOfRegion(RegionFromId(40)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(41)), (libNtve_gf_WidthOfRegion(RegionFromId(41)) / 2.0), true, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:4764
CreepModify(RegionGetCenter(RegionFromId(38)), (libNtve_gf_WidthOfRegion(RegionFromId(38)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(39)), (libNtve_gf_WidthOfRegion(RegionFromId(39)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(40)), (libNtve_gf_WidthOfRegion(RegionFromId(40)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(41)), (libNtve_gf_WidthOfRegion(RegionFromId(41)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(42)), (libNtve_gf_WidthOfRegion(RegionFromId(42)) / 2.0), true, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:4765
CreepModify(RegionGetCenter(RegionFromId(39)), (libNtve_gf_WidthOfRegion(RegionFromId(39)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(40)), (libNtve_gf_WidthOfRegion(RegionFromId(40)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(41)), (libNtve_gf_WidthOfRegion(RegionFromId(41)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(42)), (libNtve_gf_WidthOfRegion(RegionFromId(42)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(43)), (libNtve_gf_WidthOfRegion(RegionFromId(43)) / 2.0), true, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:4766
CreepModify(RegionGetCenter(RegionFromId(40)), (libNtve_gf_WidthOfRegion(RegionFromId(40)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(41)), (libNtve_gf_WidthOfRegion(RegionFromId(41)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(42)), (libNtve_gf_WidthOfRegion(RegionFromId(42)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(43)), (libNtve_gf_WidthOfRegion(RegionFromId(43)) / 2.0), true, false);
GameSetLighting("Char", 0.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:4767
CreepModify(RegionGetCenter(RegionFromId(41)), (libNtve_gf_WidthOfRegion(RegionFromId(41)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(42)), (libNtve_gf_WidthOfRegion(RegionFromId(42)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(43)), (libNtve_gf_WidthOfRegion(RegionFromId(43)) / 2.0), true, false);
GameSetLighting("Char", 0.0);
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoDefault(), 0.0, -1, 10, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:4829
UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
UnitGroupAdd(gv_introZerg, UnitLastCreated());
CreepModify(RegionGetCenter(RegionFromId(37)), (libNtve_gf_WidthOfRegion(RegionFromId(37)) / 2.0), true, false);
for (autoC6FBE432_i = 1; autoC6FBE432_i <= autoC6FBE432_n; autoC6FBE432_i += 1) {
UnitCreate(1, "Zergling", 0, 0, RegionRandomPoint(RegionFromId(28)), libNtve_gf_RandomAngle());
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar02.sc2map/MapScript.galaxy:4924
libNtve_gf_CreateUnitsWithDefaultFacing(1, "CreepTumorBurrowed", 0, gv_pLAYER_01_USER, UnitGetPosition(UnitFromId(54)));
UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
CreepModify(RegionGetCenter(RegionFromId(27)), (libNtve_gf_WidthOfRegion(RegionFromId(27)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(36)), (libNtve_gf_WidthOfRegion(RegionFromId(37)) / 2.0), true, false);
CreepSetSpeed(c_creepSpeedGrowth, 200.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:1122
// Automatic Variable Declarations
// Implementation
CreepModify(RegionGetCenter(lp_region), (libNtve_gf_WidthOfRegion(lp_region) / 2.0), true, false);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:5113
UnitRemove(auto15D56025_var);
}
CreepModify(RegionGetCenter(RegionFromId(22)), (libNtve_gf_WidthOfRegion(RegionFromId(22))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(23)), (libNtve_gf_WidthOfRegion(RegionFromId(23))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(24)), (libNtve_gf_WidthOfRegion(RegionFromId(24))/2), true, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:5114
}
CreepModify(RegionGetCenter(RegionFromId(22)), (libNtve_gf_WidthOfRegion(RegionFromId(22))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(23)), (libNtve_gf_WidthOfRegion(RegionFromId(23))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(24)), (libNtve_gf_WidthOfRegion(RegionFromId(24))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(25)), (libNtve_gf_WidthOfRegion(RegionFromId(25))/2), true, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:5115
CreepModify(RegionGetCenter(RegionFromId(22)), (libNtve_gf_WidthOfRegion(RegionFromId(22))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(23)), (libNtve_gf_WidthOfRegion(RegionFromId(23))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(24)), (libNtve_gf_WidthOfRegion(RegionFromId(24))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(25)), (libNtve_gf_WidthOfRegion(RegionFromId(25))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(8)), (libNtve_gf_WidthOfRegion(RegionFromId(8))/2), true, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:5116
CreepModify(RegionGetCenter(RegionFromId(23)), (libNtve_gf_WidthOfRegion(RegionFromId(23))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(24)), (libNtve_gf_WidthOfRegion(RegionFromId(24))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(25)), (libNtve_gf_WidthOfRegion(RegionFromId(25))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(8)), (libNtve_gf_WidthOfRegion(RegionFromId(8))/2), true, false);
Wait(0.1, c_timeGame);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:5117
CreepModify(RegionGetCenter(RegionFromId(24)), (libNtve_gf_WidthOfRegion(RegionFromId(24))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(25)), (libNtve_gf_WidthOfRegion(RegionFromId(25))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(8)), (libNtve_gf_WidthOfRegion(RegionFromId(8))/2), true, false);
Wait(0.1, c_timeGame);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Hive", 0, gv_pLAYER_01_USER, PointFromId(709));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:854
// Automatic Variable Declarations
// Implementation
CreepModify(RegionGetCenter(lp_circularRegion), (libNtve_gf_WidthOfRegion(lp_circularRegion) / 2.0), true, false);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:143
gv_psifieldregion = RegionFromId(13);
gv_psifieldorigin = UnitGetPosition(gv_psiDestroyer);
gv_psifieldradius = (libNtve_gf_WidthOfRegion(RegionFromId(13)) * 0.5);
gv_psifieldradiustarget = (libNtve_gf_WidthOfRegion(RegionFromId(13)) * 0.5);
gv_psifieldstate = ge_psifieldstatepreset_PAUSED;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:144
gv_psifieldorigin = UnitGetPosition(gv_psiDestroyer);
gv_psifieldradius = (libNtve_gf_WidthOfRegion(RegionFromId(13)) * 0.5);
gv_psifieldradiustarget = (libNtve_gf_WidthOfRegion(RegionFromId(13)) * 0.5);
gv_psifieldstate = ge_psifieldstatepreset_PAUSED;
gv_psifieldpowerup = TimerCreate();
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:147
gv_psifieldstate = ge_psifieldstatepreset_PAUSED;
gv_psifieldpowerup = TimerCreate();
gv_psiFieldResetRadius = (libNtve_gf_WidthOfRegion(RegionFromId(14)) * 0.5);
gv_dangerPingScalar = 0.075;
gv_fieldPingScalar = 0.105;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:2924
gv_psifieldgrowthpersec = 0.0;
gv_psifieldradius = (libNtve_gf_WidthOfRegion(RegionFromId(13)) / 2.0);
gv_psifieldstate = ge_psifieldstatepreset_PAUSED;
TriggerExecute(gt_DestroyerFieldUpdate, true, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:2963
autoD19E942E_val = gv_psifieldstate;
if (autoD19E942E_val == ge_psifieldstatepreset_GROWING) {
if ((gv_psifieldradius < (libNtve_gf_WidthOfRegion(RegionFromId(15)) / 2.0))) {
gv_psifieldradius = (gv_psifieldradius + (gf_FieldExpandRatetoRegion((gv_psiFieldResetRadius * 0.7), gv_psiFieldResetRadius, 60.0) * gv_psifieldupdatefrequency));
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:3048
lv_pingscaleMIN = 0.1;
lv_timebetweenpulses = 5.0;
lv_fieldradiusmax = (libNtve_gf_WidthOfRegion(RegionFromId(14)) / 2.0);
// Conditions
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:3207
auto0A29AD4D_val = EventUnit();
if (auto0A29AD4D_val == UnitFromId(5)) {
gv_psifieldradiustarget = (libNtve_gf_WidthOfRegion(RegionFromId(14)) * 0.5);
gv_psifieldgrowthpersec = gf_FieldExpandRatetoPoint((libNtve_gf_WidthOfRegion(RegionFromId(15)) / 2.0), gv_fieldExpansionTime01, PointFromId(1039));
lv_psifieldtimer = gv_fieldPowerUpTime01;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:3208
if (auto0A29AD4D_val == UnitFromId(5)) {
gv_psifieldradiustarget = (libNtve_gf_WidthOfRegion(RegionFromId(14)) * 0.5);
gv_psifieldgrowthpersec = gf_FieldExpandRatetoPoint((libNtve_gf_WidthOfRegion(RegionFromId(15)) / 2.0), gv_fieldExpansionTime01, PointFromId(1039));
lv_psifieldtimer = gv_fieldPowerUpTime01;
gv_psifieldshrinkpersec = 20.0;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:3216
}
else if (auto0A29AD4D_val == UnitFromId(47)) {
gv_psifieldradiustarget = (libNtve_gf_WidthOfRegion(RegionFromId(14)) * 0.5);
gv_psifieldgrowthpersec = gf_FieldExpandRatetoPoint((libNtve_gf_WidthOfRegion(RegionFromId(15)) / 2.0), gv_fieldExpansionTime02, PointFromId(1039));
lv_psifieldtimer = gv_fieldPowerUpTime02;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:3217
else if (auto0A29AD4D_val == UnitFromId(47)) {
gv_psifieldradiustarget = (libNtve_gf_WidthOfRegion(RegionFromId(14)) * 0.5);
gv_psifieldgrowthpersec = gf_FieldExpandRatetoPoint((libNtve_gf_WidthOfRegion(RegionFromId(15)) / 2.0), gv_fieldExpansionTime02, PointFromId(1039));
lv_psifieldtimer = gv_fieldPowerUpTime02;
gv_psifieldshrinkpersec = 20.0;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:732
// Implementation
lv_creepArea = gf_CreepAreaOnMap(1.0);
lv_mapArea = (libNtve_gf_WidthOfRegion(RegionPlayableMap()) * libNtve_gf_HeightOfRegion(RegionPlayableMap()));
return ((lv_creepArea / lv_mapArea) * 100);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:4761
PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, true);
libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_03_TERRAN_TEAL, libNtve_ge_AllianceSetting_Enemy);
CreepModify(RegionGetCenter(RegionFromId(37)), (libNtve_gf_WidthOfRegion(RegionFromId(37)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(38)), (libNtve_gf_WidthOfRegion(RegionFromId(38)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(39)), (libNtve_gf_WidthOfRegion(RegionFromId(39)) / 2.0), true, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:4762
libNtve_gf_SetAlliance(gv_pLAYER_01_USER, gv_pLAYER_03_TERRAN_TEAL, libNtve_ge_AllianceSetting_Enemy);
CreepModify(RegionGetCenter(RegionFromId(37)), (libNtve_gf_WidthOfRegion(RegionFromId(37)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(38)), (libNtve_gf_WidthOfRegion(RegionFromId(38)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(39)), (libNtve_gf_WidthOfRegion(RegionFromId(39)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(40)), (libNtve_gf_WidthOfRegion(RegionFromId(40)) / 2.0), true, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:4763
CreepModify(RegionGetCenter(RegionFromId(37)), (libNtve_gf_WidthOfRegion(RegionFromId(37)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(38)), (libNtve_gf_WidthOfRegion(RegionFromId(38)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(39)), (libNtve_gf_WidthOfRegion(RegionFromId(39)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(40)), (libNtve_gf_WidthOfRegion(RegionFromId(40)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(41)), (libNtve_gf_WidthOfRegion(RegionFromId(41)) / 2.0), true, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:4764
CreepModify(RegionGetCenter(RegionFromId(38)), (libNtve_gf_WidthOfRegion(RegionFromId(38)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(39)), (libNtve_gf_WidthOfRegion(RegionFromId(39)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(40)), (libNtve_gf_WidthOfRegion(RegionFromId(40)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(41)), (libNtve_gf_WidthOfRegion(RegionFromId(41)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(42)), (libNtve_gf_WidthOfRegion(RegionFromId(42)) / 2.0), true, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:4765
CreepModify(RegionGetCenter(RegionFromId(39)), (libNtve_gf_WidthOfRegion(RegionFromId(39)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(40)), (libNtve_gf_WidthOfRegion(RegionFromId(40)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(41)), (libNtve_gf_WidthOfRegion(RegionFromId(41)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(42)), (libNtve_gf_WidthOfRegion(RegionFromId(42)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(43)), (libNtve_gf_WidthOfRegion(RegionFromId(43)) / 2.0), true, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:4766
CreepModify(RegionGetCenter(RegionFromId(40)), (libNtve_gf_WidthOfRegion(RegionFromId(40)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(41)), (libNtve_gf_WidthOfRegion(RegionFromId(41)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(42)), (libNtve_gf_WidthOfRegion(RegionFromId(42)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(43)), (libNtve_gf_WidthOfRegion(RegionFromId(43)) / 2.0), true, false);
GameSetLighting("Char", 0.0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:4767
CreepModify(RegionGetCenter(RegionFromId(41)), (libNtve_gf_WidthOfRegion(RegionFromId(41)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(42)), (libNtve_gf_WidthOfRegion(RegionFromId(42)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(43)), (libNtve_gf_WidthOfRegion(RegionFromId(43)) / 2.0), true, false);
GameSetLighting("Char", 0.0);
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoDefault(), 0.0, -1, 10, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:4829
UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
UnitGroupAdd(gv_introZerg, UnitLastCreated());
CreepModify(RegionGetCenter(RegionFromId(37)), (libNtve_gf_WidthOfRegion(RegionFromId(37)) / 2.0), true, false);
for (autoC6FBE432_i = 1; autoC6FBE432_i <= autoC6FBE432_n; autoC6FBE432_i += 1) {
UnitCreate(1, "Zergling", 0, 0, RegionRandomPoint(RegionFromId(28)), libNtve_gf_RandomAngle());
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar02.sc2map — MapScript.galaxy:4924
libNtve_gf_CreateUnitsWithDefaultFacing(1, "CreepTumorBurrowed", 0, gv_pLAYER_01_USER, UnitGetPosition(UnitFromId(54)));
UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
CreepModify(RegionGetCenter(RegionFromId(27)), (libNtve_gf_WidthOfRegion(RegionFromId(27)) / 2.0), true, false);
CreepModify(RegionGetCenter(RegionFromId(36)), (libNtve_gf_WidthOfRegion(RegionFromId(37)) / 2.0), true, false);
CreepSetSpeed(c_creepSpeedGrowth, 200.0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map — MapScript.galaxy:1122
// Automatic Variable Declarations
// Implementation
CreepModify(RegionGetCenter(lp_region), (libNtve_gf_WidthOfRegion(lp_region) / 2.0), true, false);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map — MapScript.galaxy:5113
UnitRemove(auto15D56025_var);
}
CreepModify(RegionGetCenter(RegionFromId(22)), (libNtve_gf_WidthOfRegion(RegionFromId(22))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(23)), (libNtve_gf_WidthOfRegion(RegionFromId(23))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(24)), (libNtve_gf_WidthOfRegion(RegionFromId(24))/2), true, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map — MapScript.galaxy:5114
}
CreepModify(RegionGetCenter(RegionFromId(22)), (libNtve_gf_WidthOfRegion(RegionFromId(22))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(23)), (libNtve_gf_WidthOfRegion(RegionFromId(23))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(24)), (libNtve_gf_WidthOfRegion(RegionFromId(24))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(25)), (libNtve_gf_WidthOfRegion(RegionFromId(25))/2), true, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map — MapScript.galaxy:5115
CreepModify(RegionGetCenter(RegionFromId(22)), (libNtve_gf_WidthOfRegion(RegionFromId(22))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(23)), (libNtve_gf_WidthOfRegion(RegionFromId(23))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(24)), (libNtve_gf_WidthOfRegion(RegionFromId(24))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(25)), (libNtve_gf_WidthOfRegion(RegionFromId(25))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(8)), (libNtve_gf_WidthOfRegion(RegionFromId(8))/2), true, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map — MapScript.galaxy:5116
CreepModify(RegionGetCenter(RegionFromId(23)), (libNtve_gf_WidthOfRegion(RegionFromId(23))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(24)), (libNtve_gf_WidthOfRegion(RegionFromId(24))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(25)), (libNtve_gf_WidthOfRegion(RegionFromId(25))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(8)), (libNtve_gf_WidthOfRegion(RegionFromId(8))/2), true, false);
Wait(0.1, c_timeGame);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map — MapScript.galaxy:5117
CreepModify(RegionGetCenter(RegionFromId(24)), (libNtve_gf_WidthOfRegion(RegionFromId(24))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(25)), (libNtve_gf_WidthOfRegion(RegionFromId(25))/2), true, false);
CreepModify(RegionGetCenter(RegionFromId(8)), (libNtve_gf_WidthOfRegion(RegionFromId(8))/2), true, false);
Wait(0.1, c_timeGame);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Hive", 0, gv_pLAYER_01_USER, PointFromId(709));
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map — MapScript.galaxy:854
// Automatic Variable Declarations
// Implementation
CreepModify(RegionGetCenter(lp_circularRegion), (libNtve_gf_WidthOfRegion(lp_circularRegion) / 2.0), true, false);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:143
gv_psifieldregion = RegionFromId(13);
gv_psifieldorigin = UnitGetPosition(gv_psiDestroyer);
gv_psifieldradius = (libNtve_gf_WidthOfRegion(RegionFromId(13)) * 0.5);
gv_psifieldradiustarget = (libNtve_gf_WidthOfRegion(RegionFromId(13)) * 0.5);
gv_psifieldstate = ge_psifieldstatepreset_PAUSED;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:144
gv_psifieldorigin = UnitGetPosition(gv_psiDestroyer);
gv_psifieldradius = (libNtve_gf_WidthOfRegion(RegionFromId(13)) * 0.5);
gv_psifieldradiustarget = (libNtve_gf_WidthOfRegion(RegionFromId(13)) * 0.5);
gv_psifieldstate = ge_psifieldstatepreset_PAUSED;
gv_psifieldpowerup = TimerCreate();
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:147
gv_psifieldstate = ge_psifieldstatepreset_PAUSED;
gv_psifieldpowerup = TimerCreate();
gv_psiFieldResetRadius = (libNtve_gf_WidthOfRegion(RegionFromId(14)) * 0.5);
gv_dangerPingScalar = 0.075;
gv_fieldPingScalar = 0.105;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:2924
gv_psifieldgrowthpersec = 0.0;
gv_psifieldradius = (libNtve_gf_WidthOfRegion(RegionFromId(13)) / 2.0);
gv_psifieldstate = ge_psifieldstatepreset_PAUSED;
TriggerExecute(gt_DestroyerFieldUpdate, true, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:2963
autoD19E942E_val = gv_psifieldstate;
if (autoD19E942E_val == ge_psifieldstatepreset_GROWING) {
if ((gv_psifieldradius < (libNtve_gf_WidthOfRegion(RegionFromId(15)) / 2.0))) {
gv_psifieldradius = (gv_psifieldradius + (gf_FieldExpandRatetoRegion((gv_psiFieldResetRadius * 0.7), gv_psiFieldResetRadius, 60.0) * gv_psifieldupdatefrequency));
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:3048
lv_pingscaleMIN = 0.1;
lv_timebetweenpulses = 5.0;
lv_fieldradiusmax = (libNtve_gf_WidthOfRegion(RegionFromId(14)) / 2.0);
// Conditions
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:3207
auto0A29AD4D_val = EventUnit();
if (auto0A29AD4D_val == UnitFromId(5)) {
gv_psifieldradiustarget = (libNtve_gf_WidthOfRegion(RegionFromId(14)) * 0.5);
gv_psifieldgrowthpersec = gf_FieldExpandRatetoPoint((libNtve_gf_WidthOfRegion(RegionFromId(15)) / 2.0), gv_fieldExpansionTime01, PointFromId(1039));
lv_psifieldtimer = gv_fieldPowerUpTime01;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:3208
if (auto0A29AD4D_val == UnitFromId(5)) {
gv_psifieldradiustarget = (libNtve_gf_WidthOfRegion(RegionFromId(14)) * 0.5);
gv_psifieldgrowthpersec = gf_FieldExpandRatetoPoint((libNtve_gf_WidthOfRegion(RegionFromId(15)) / 2.0), gv_fieldExpansionTime01, PointFromId(1039));
lv_psifieldtimer = gv_fieldPowerUpTime01;
gv_psifieldshrinkpersec = 20.0;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:3216
}
else if (auto0A29AD4D_val == UnitFromId(47)) {
gv_psifieldradiustarget = (libNtve_gf_WidthOfRegion(RegionFromId(14)) * 0.5);
gv_psifieldgrowthpersec = gf_FieldExpandRatetoPoint((libNtve_gf_WidthOfRegion(RegionFromId(15)) / 2.0), gv_fieldExpansionTime02, PointFromId(1039));
lv_psifieldtimer = gv_fieldPowerUpTime02;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:3217
else if (auto0A29AD4D_val == UnitFromId(47)) {
gv_psifieldradiustarget = (libNtve_gf_WidthOfRegion(RegionFromId(14)) * 0.5);
gv_psifieldgrowthpersec = gf_FieldExpandRatetoPoint((libNtve_gf_WidthOfRegion(RegionFromId(15)) / 2.0), gv_fieldExpansionTime02, PointFromId(1039));
lv_psifieldtimer = gv_fieldPowerUpTime02;
gv_psifieldshrinkpersec = 20.0;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur01.sc2map/MapScript.galaxy:636
lv_creepArea = gf_CreepAreaOnMap(1.0);
lv_mapArea = (libNtve_gf_WidthOfRegion(RegionPlayableMap()) * libNtve_gf_HeightOfRegion(RegionPlayableMap()));
return ((lv_creepArea / lv_mapArea) * 100);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pcampaigntest.sc2map/MapScript.galaxy:499
IntLoopBegin(FixedToInt((PointGetY(RegionGetBoundsMin(RegionFromId(1))) + 1.0)), FixedToInt(PointGetY(RegionGetBoundsMax(RegionFromId(1)))));
for ( ; !IntLoopDone() ; IntLoopStep() ) {
libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "ShapeCube", Point((PointGetX(RegionGetCenter(RegionFromId(1))) + (libNtve_gf_WidthOfRegion(RegionFromId(1)) / 2.0)), IntLoopCurrent()), ColorWithAlpha(100.00, 100.00, 100.00, 0.00), 0.0, 270.0);
PingSetScale(PingLastCreated(), 0.015);
PingSetColor(PingLastCreated(), Color(0.00, 0.00, 50.20));
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:597
// Implementation
lv_unitRegion = RegionCircle(RegionGetCenter(lp_perfRegion), ((libNtve_gf_WidthOfRegion(lp_perfRegion) / 2.0) - 14.0));
UnitGroupAddUnitGroup(lv_perfUnits, UnitGroupAlliance(gv_pLAYER_01_USER, c_unitAllianceEnemy, lv_unitRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
return lv_perfUnits;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue03.sc2map/MapScript.galaxy:6097
lv_i = 1;
for ( ; ( (auto598C7B84_ai >= 0 && lv_i <= auto598C7B84_ae) || (auto598C7B84_ai < 0 && lv_i >= auto598C7B84_ae) ) ; lv_i += auto598C7B84_ai ) {
CreepModify(RegionGetCenter(RegionFromName(("Initial Creep " + IntToString(lv_i)))), (libNtve_gf_WidthOfRegion(RegionFromName(("Initial Creep " + IntToString(lv_i)))) / 2.0), true, false);
}
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoDefault(), 0.0, -1, 10, false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur01.sc2map — MapScript.galaxy:636
lv_creepArea = gf_CreepAreaOnMap(1.0);
lv_mapArea = (libNtve_gf_WidthOfRegion(RegionPlayableMap()) * libNtve_gf_HeightOfRegion(RegionPlayableMap()));
return ((lv_creepArea / lv_mapArea) * 100);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pcampaigntest.sc2map — MapScript.galaxy:499
IntLoopBegin(FixedToInt((PointGetY(RegionGetBoundsMin(RegionFromId(1))) + 1.0)), FixedToInt(PointGetY(RegionGetBoundsMax(RegionFromId(1)))));
for ( ; !IntLoopDone() ; IntLoopStep() ) {
libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "ShapeCube", Point((PointGetX(RegionGetCenter(RegionFromId(1))) + (libNtve_gf_WidthOfRegion(RegionFromId(1)) / 2.0)), IntLoopCurrent()), ColorWithAlpha(100.00, 100.00, 100.00, 0.00), 0.0, 270.0);
PingSetScale(PingLastCreated(), 0.015);
PingSetColor(PingLastCreated(), Color(0.00, 0.00, 50.20));
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:597
// Implementation
lv_unitRegion = RegionCircle(RegionGetCenter(lp_perfRegion), ((libNtve_gf_WidthOfRegion(lp_perfRegion) / 2.0) - 14.0));
UnitGroupAddUnitGroup(lv_perfUnits, UnitGroupAlliance(gv_pLAYER_01_USER, c_unitAllianceEnemy, lv_unitRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
return lv_perfUnits;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue03.sc2map — MapScript.galaxy:6097
lv_i = 1;
for ( ; ( (auto598C7B84_ai >= 0 && lv_i <= auto598C7B84_ae) || (auto598C7B84_ai < 0 && lv_i >= auto598C7B84_ae) ) ; lv_i += auto598C7B84_ai ) {
CreepModify(RegionGetCenter(RegionFromName(("Initial Creep " + IntToString(lv_i)))), (libNtve_gf_WidthOfRegion(RegionFromName(("Initial Creep " + IntToString(lv_i)))) / 2.0), true, false);
}
CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoDefault(), 0.0, -1, 10, false);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/LibertyLib.galaxy:410
// Implementation
lv_boundsWest = (PointGetX(RegionGetCenter(RegionPlayableMap())) - (libNtve_gf_WidthOfRegion(RegionPlayableMap()) / 2.0));
lv_boundsEast = (PointGetX(RegionGetCenter(RegionPlayableMap())) + (libNtve_gf_WidthOfRegion(RegionPlayableMap()) / 2.0));
lv_boundsNorth = (PointGetY(RegionGetCenter(RegionPlayableMap())) + (libNtve_gf_HeightOfRegion(RegionPlayableMap()) / 2.0));
mods/liberty.sc2mod — base.sc2data/TriggerLibs/LibertyLib.galaxy:411
// Implementation
lv_boundsWest = (PointGetX(RegionGetCenter(RegionPlayableMap())) - (libNtve_gf_WidthOfRegion(RegionPlayableMap()) / 2.0));
lv_boundsEast = (PointGetX(RegionGetCenter(RegionPlayableMap())) + (libNtve_gf_WidthOfRegion(RegionPlayableMap()) / 2.0));
lv_boundsNorth = (PointGetY(RegionGetCenter(RegionPlayableMap())) + (libNtve_gf_HeightOfRegion(RegionPlayableMap()) / 2.0));
lv_boundsSouth = (PointGetY(RegionGetCenter(RegionPlayableMap())) - (libNtve_gf_HeightOfRegion(RegionPlayableMap()) / 2.0));
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:24444
lv_placementX = PointGetX(PointWithOffsetPolar(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), 13.0, lv_angle));
lv_placementY = PointGetY(PointWithOffsetPolar(EventPlayerEffectUsedPoint(c_effectLocationCasterUnit), 13.0, lv_angle));
if (((lv_placementX > 1) && (lv_placementY > 1) && (lv_placementX < libNtve_gf_WidthOfRegion(lv_mapSize)) && (lv_placementY < libNtve_gf_HeightOfRegion(lv_mapSize)))) {
if ((CreepIsPresent(Point(lv_placementX, lv_placementY)) == true)) {
lv_creepTumorGroup = UnitGroupEmpty();
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:3882
while (true) {
Wait(1.0, c_timeGame);
if (((PointGetX(UnitGetPosition(lp_blizzardUnit)) >= libNtve_gf_WidthOfRegion(RegionPlayableMap())) || (PointGetY(UnitGetPosition(lp_blizzardUnit)) <= PointGetY(RegionGetBoundsMin(RegionPlayableMap()))))) {
break;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:5575
autoA43082AB_val = RandomInt(1, 4);
if (autoA43082AB_val == 1) {
lv_launchLocation = Point(RandomFixed(0.0, libNtve_gf_WidthOfRegion(RegionEntireMap())), libNtve_gf_HeightOfRegion(RegionEntireMap()));
}
else if (autoA43082AB_val == 2) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:5578
}
else if (autoA43082AB_val == 2) {
lv_launchLocation = Point(RandomFixed(0.0, libNtve_gf_WidthOfRegion(RegionEntireMap())), 0.0);
}
else if (autoA43082AB_val == 3) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:5584
}
else if (autoA43082AB_val == 4) {
lv_launchLocation = Point(libNtve_gf_WidthOfRegion(RegionEntireMap()), RandomFixed(0.0, libNtve_gf_HeightOfRegion(RegionEntireMap())));
}
else {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:7014
CatalogFieldValueSet(c_gameCatalogEffect, "MutatorTornadoAOESearchDamage", "Amount", 3, IntToString(libCOMI_gf_MinimumDifficultyValueCoopInteger(5, 10, 15, 25, 25, 25)));
lv_tornadoCount += MaxI(FixedToInt((libNtve_gf_WidthOfRegion(RegionPlayableMap()) / 19.0)), 1);
lv_tornadoCount += MaxI(FixedToInt((libNtve_gf_HeightOfRegion(RegionPlayableMap()) / 19.0)), 1);
if ((libCOOC_gf_CC_CurrentMap() == "AC_VeridiaCourier")) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:11430
if ((lv_moveDirection == 0.0)) {
lv_spawnLocation = Point(0.0, RandomFixed(0.0, (libNtve_gf_HeightOfRegion(RegionPlayableMap()) + lv_drift)));
lv_destinationLocation = Point(libNtve_gf_WidthOfRegion(RegionEntireMap()), (PointGetY(lv_spawnLocation) - lv_drift));
}
else if (true) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:11433
}
else if (true) {
lv_spawnSpan = (libNtve_gf_HeightOfRegion(RegionPlayableMap()) + libNtve_gf_WidthOfRegion(RegionPlayableMap()));
lv_spawnDistance = RandomFixed(0.0, lv_spawnSpan);
lv_rightTriangleAngle = libCOMU_gf_CT_MathNumberWrap(lv_moveDirection, 0.0, 90.0);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:11438
if ((lv_spawnDistance > libNtve_gf_HeightOfRegion(RegionPlayableMap()))) {
lv_spawnLocation = Point((lv_spawnDistance - libNtve_gf_HeightOfRegion(RegionPlayableMap())), libNtve_gf_HeightOfRegion(RegionPlayableMap()));
lv_destinationLocation = PointWithOffsetPolar(lv_spawnLocation, ((libNtve_gf_WidthOfRegion(RegionEntireMap()) - PointGetX(lv_spawnLocation)) / Cos(lv_rightTriangleAngle)), lv_moveDirection);
}
else {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:12663
auto74E72DD5_val = RandomInt(1, 4);
if (auto74E72DD5_val == 1) {
lv_launchLocation = Point(RandomFixed(0.0, libNtve_gf_WidthOfRegion(RegionEntireMap())), libNtve_gf_HeightOfRegion(RegionEntireMap()));
}
else if (auto74E72DD5_val == 2) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:12666
}
else if (auto74E72DD5_val == 2) {
lv_launchLocation = Point(RandomFixed(0.0, libNtve_gf_WidthOfRegion(RegionEntireMap())), 0.0);
}
else if (auto74E72DD5_val == 3) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:5986
}
lv_mapScale = (lv_baseMapSize / MaxF(libNtve_gf_WidthOfRegion(RegionPlayableMap()), libNtve_gf_HeightOfRegion(RegionPlayableMap())));
lv_mapScale = (lv_mapScale * lv_baseScale);
libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(1), "PingViewArea", CameraGetTarget(2), libNtve_gf_ConvertPlayerColorToColor(PlayerGetColorIndex(2, false)), 0.0, 270.0);