# Set Unit Scale
Grammar — Set u scale to (x%, y%, z%) of its original size
Flags —Native
|Action
Sets a unit’s scale.
# Arguments
unit
— Unitfixed
— Xfixed
— Yfixed
— Z
Returns — void
native void UnitSetScale(
unit inUnit,
fixed x,
fixed y,
fixed z,
);
# Related
Category: Unit / Properties
- Unit Type Of Unit —
string
<gamelink::Unit> — UnitGetType - Unit Tag —
int
— UnitGetTag - Unit Seed —
int
— UnitGetSeed - Unit Property Changes —
void
— TriggerAddEventUnitProperty - Triggering Unit Property —
int
<preset::Unit_Property> — EventUnitProperty - Triggering Unit Property Change (Integer) —
int
— EventUnitPropertyChangeInt - Triggering Unit Property Change (Real) —
fixed
— EventUnitPropertyChangeFixed - Set Unit Property —
void
— UnitSetPropertyFixed - Set Unit State —
void
— UnitSetState - Set Unit Seed —
void
— UnitSetSeed - Reset Unit Seed —
void
— UnitResetSeed - Make Unit Invulnerable —
void
— libNtve_gf_MakeUnitInvulnerable - Make Unit Uncommandable —
void
— libNtve_gf_MakeUnitUncommandable - Unit Property —
fixed
— UnitGetPropertyFixed - Unit Property (Int) —
int
— UnitGetPropertyInt - Unit Type Property —
fixed
— UnitTypeGetProperty - Unit Classification Check —
bool
— UnitTestState - Unit Type Classification Check —
bool
— UnitTypeTestFlag - Unit Type Attribute Check —
bool
— UnitTypeTestAttribute - Unit Targetable Check —
bool
— UnitTestPlane - Unit Is Invulnerable —
bool
— libNtve_gf_UnitIsInvulnerable - Unit Kills —
int
— libNtve_gf_UnitGetPropertyKills - Unit Resources —
int
— libNtve_gf_UnitGetPropertyResources - Unit Attachment Point —
point
— UnitGetAttachmentPoint - Name Of Unit Type —
text
— UnitTypeGetName - Gender Code Of Unit Type —
string
— UnitTypeGetGenderCode - Unit Type Cost —
int
— UnitTypeGetCost - Unit Type Is Affected By Upgrade —
bool
— UnitTypeIsAffectedByUpgrade - Reset Movement Speed —
void
— UnitResetSpeed - Unit Uses Mover —
bool
— UnitMoverExists - Unit Type Uses Mover —
bool
— libNtve_gf_UnitMoverExists - Unit Type From String —
string
<gamelink::Unit> — UnitTypeFromString - Set Unit Color —
void
— UnitSetTeamColorIndex - Set Unit Info Button - Ability Tooltip —
void
— libNtve_gf_SetUnitInfoButtonAbilityTooltip - Set Unit Info Button - Button Tooltip —
void
— libNtve_gf_SetUnitInfoButtonButtonTooltip - Set Unit Info Button - Item Tooltip —
void
— libNtve_gf_SetUnitInfoButtonItemTooltip - Reset Unit Info Button - Ability Tooltip —
void
— libNtve_gf_ResetUnitInfoButtonAbilityTooltip - Reset Unit Info Button - Button Tooltip —
void
— libNtve_gf_ResetUnitInfoButtonButtonTooltip - Reset Unit Info Button - Item Tooltip —
void
— libNtve_gf_ResetUnitInfoButtonItemTooltip - Set Unit Command Button Tooltip —
void
— UnitSetInfoButtonTooltip - Reset Unit Command Button Tooltip —
void
— UnitClearInfoButtonTooltip - Set Unit Highlight Cursor —
void
— UnitSetCursor - Set Unit Ping Cursor —
void
— UnitSetPingCursor - Set Unit Info —
void
— UnitSetInfoText - Set Unit Info Text —
void
— UnitSetInfoText2 - Set Unit Info Tip —
void
— UnitSetInfoTip - Set Unit Info SubTip —
void
— UnitSetInfoSubTip - Clear Unit Info —
void
— UnitClearInfoText - Set Unit Status Bar State (Deprecated) —
void
— UnitForceStatusBar - Show Unit Status Bar —
void
— UnitStatusBarOverride - Hide Unit Status Bar —
void
— UnitStatusBarClearOverride - Set Unit Scale —
void
— UnitSetScale - Set Unit Model Variation —
void
— libNtve_gf_UnitSetVariation - Change Unit Height —
void
— UnitSetHeight - Height Of Unit —
fixed
— UnitGetHeight - Change Unit Damage —
void
— libNtve_gf_ChangeUnitDamage - Add On Child —
unit
— UnitAddOnChild - Add On Parent —
unit
— UnitAddOnParent
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:799
UnitSetCustomValue(UnitLastCreated(), (ge_UnitData_udEggScale), gv_eGG_SIZE_BASE);
UnitSetCustomValue(UnitLastCreated(), (ge_UnitData_udEggColony), IntToFixed(lp_colonyIndex));
UnitSetScale(UnitLastCreated(), gv_eGG_SIZE_BASE, gv_eGG_SIZE_BASE, gv_eGG_SIZE_BASE);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2081
lv_eggScale += gv_eggData[lv_eggType].lv_scaleInc;
UnitSetCustomValue(autoB51C2030_var, (ge_UnitData_udEggScale), lv_eggScale);
UnitSetScale(autoB51C2030_var, lv_eggScale, lv_eggScale, lv_eggScale);
}
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:441
UnitRemove(UnitFromId(1034));
UnitRemove(UnitFromId(1035));
UnitSetScale(UnitFromId(4), 115.0, 115.0, 115.0);
gv_odin = UnitFromId(2);
UnitIssueOrder(gv_odin, Order(AbilityCommand("move", 2)), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:444
gv_dogmeat = UnitFromId(2661);
gv_riksvillePopulation += 1;
UnitSetScale(gv_dogmeat, 75.0, 75.0, 75.0);
gv_crazyOldClarice = UnitFromId(43);
UnitBehaviorAdd(UnitFromId(34), "CritterWanderLeashShort", UnitFromId(34), 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1214
gv_nydusWormMaximumHP = libNtve_gf_DifficultyValueFixed(600.0, 1000.0, 1000.0, 1000.0);
libNtve_gf_CreateUnitsAtPoint2(1, "NydusCanal", 0, gv_p10_ZERG_WHITEHIVE, PointFromId(1189));
UnitSetScale(UnitLastCreated(), 130.0, 130.0, 130.0);
gv_nydusOBJ01 = UnitLastCreated();
UnitSetPropertyFixed(gv_nydusOBJ01, c_unitPropLifeMax, gv_nydusWormMaximumHP);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1218
UnitSetPropertyFixed(gv_nydusOBJ01, c_unitPropLifeMax, gv_nydusWormMaximumHP);
libNtve_gf_CreateUnitsAtPoint2(1, "NydusCanal", 0, gv_p10_ZERG_WHITEHIVE, PointFromId(1190));
UnitSetScale(UnitLastCreated(), 130.0, 130.0, 130.0);
gv_nydusOBJ02 = UnitLastCreated();
UnitSetPropertyFixed(gv_nydusOBJ02, c_unitPropLifeMax, gv_nydusWormMaximumHP);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1222
UnitSetPropertyFixed(gv_nydusOBJ02, c_unitPropLifeMax, gv_nydusWormMaximumHP);
libNtve_gf_CreateUnitsAtPoint2(1, "NydusCanal", 0, gv_p10_ZERG_WHITEHIVE, PointFromId(1191));
UnitSetScale(UnitLastCreated(), 130.0, 130.0, 130.0);
gv_nydusOBJ03 = UnitLastCreated();
UnitSetPropertyFixed(gv_nydusOBJ03, c_unitPropLifeMax, gv_nydusWormMaximumHP);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:8817
libNtve_gf_CreateUnitsAtPoint2(1, "Zeratul", 0, gv_p1_USER, PointFromId(390));
UnitBehaviorAdd(UnitLastCreated(), "SuppressCloak", UnitLastCreated(), 1);
UnitSetScale(UnitLastCreated(), 130.0, 130.0, 130.0);
libNtve_gf_CreateModelAtPoint("ZeratulBlinkIn", PointFromId(390));
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1413
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
if ((gv_hybridWaves <= 3)) {
UnitSetScale(UnitLastCreated(), 77.0, 77.0, 77.0);
libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "Signal Smaller");
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1418
if ((gv_hybridWaves >= 7)) {
UnitSetScale(UnitLastCreated(), 133.0, 133.0, 133.0);
libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "Signal Bigger");
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1566
libNtve_gf_CreateUnitsAtPoint2(1, "Maar", 0, gv_p8_PRISON_STRUCTURE, PointFromId(181));
if ((gv_hybridWaves <= 3)) {
UnitSetScale(UnitLastCreated(), 77.0, 77.0, 77.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1572
if ((gv_hybridWaves >= 7)) {
UnitSetScale(UnitLastCreated(), 133.0, 133.0, 133.0);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:5778
libNtve_gf_MakeUnitInvulnerable(gv_archTemplar01, true);
PingDestroy(gv_pingPrison01);
UnitSetScale(gv_archTemplar01, 120.0, 120.0, 120.0);
libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectDestroythePreserverPrisons, gv_archTemplar01, gv_p1_USER);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:5813
libNtve_gf_MakeUnitInvulnerable(gv_archTemplar02, true);
PingDestroy(gv_pingPrison02);
UnitSetScale(gv_archTemplar02, 120.0, 120.0, 120.0);
libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectDestroythePreserverPrisons, gv_archTemplar02, gv_p1_USER);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:5848
libNtve_gf_MakeUnitInvulnerable(gv_archTemplar03, true);
PingDestroy(gv_pingPrison03);
UnitSetScale(gv_archTemplar03, 120.0, 120.0, 120.0);
libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectDestroythePreserverPrisons, gv_archTemplar03, gv_p1_USER);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:6075
libNtve_gf_ShowHideUnit(gv_preserverPrison03, false);
libNtve_gf_CreateUnitsAtPoint2(1, "PreserverA", 0, gv_p7_NEUTRAL, PointFromId(284));
UnitSetScale(UnitLastCreated(), 150.0, 150.0, 150.0);
gv_preserverPrison01 = UnitLastCreated();
libNtve_gf_CreateUnitsAtPoint2(1, "PreserverB", 0, gv_p7_NEUTRAL, PointFromId(297));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:6078
gv_preserverPrison01 = UnitLastCreated();
libNtve_gf_CreateUnitsAtPoint2(1, "PreserverB", 0, gv_p7_NEUTRAL, PointFromId(297));
UnitSetScale(UnitLastCreated(), 150.0, 150.0, 150.0);
gv_preserverPrison02 = UnitLastCreated();
libNtve_gf_CreateUnitsAtPoint2(1, "PreserverC", 0, gv_p7_NEUTRAL, PointFromId(352));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:6081
gv_preserverPrison02 = UnitLastCreated();
libNtve_gf_CreateUnitsAtPoint2(1, "PreserverC", 0, gv_p7_NEUTRAL, PointFromId(352));
UnitSetScale(UnitLastCreated(), 150.0, 150.0, 150.0);
gv_preserverPrison03 = UnitLastCreated();
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(546), 0.0, -1, 10, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2map — MapScript.galaxy:799
UnitSetCustomValue(UnitLastCreated(), (ge_UnitData_udEggScale), gv_eGG_SIZE_BASE);
UnitSetCustomValue(UnitLastCreated(), (ge_UnitData_udEggColony), IntToFixed(lp_colonyIndex));
UnitSetScale(UnitLastCreated(), gv_eGG_SIZE_BASE, gv_eGG_SIZE_BASE, gv_eGG_SIZE_BASE);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2map — MapScript.galaxy:2081
lv_eggScale += gv_eggData[lv_eggType].lv_scaleInc;
UnitSetCustomValue(autoB51C2030_var, (ge_UnitData_udEggScale), lv_eggScale);
UnitSetScale(autoB51C2030_var, lv_eggScale, lv_eggScale, lv_eggScale);
}
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:441
UnitRemove(UnitFromId(1034));
UnitRemove(UnitFromId(1035));
UnitSetScale(UnitFromId(4), 115.0, 115.0, 115.0);
gv_odin = UnitFromId(2);
UnitIssueOrder(gv_odin, Order(AbilityCommand("move", 2)), c_orderQueueReplace);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:444
gv_dogmeat = UnitFromId(2661);
gv_riksvillePopulation += 1;
UnitSetScale(gv_dogmeat, 75.0, 75.0, 75.0);
gv_crazyOldClarice = UnitFromId(43);
UnitBehaviorAdd(UnitFromId(34), "CritterWanderLeashShort", UnitFromId(34), 1);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:1214
gv_nydusWormMaximumHP = libNtve_gf_DifficultyValueFixed(600.0, 1000.0, 1000.0, 1000.0);
libNtve_gf_CreateUnitsAtPoint2(1, "NydusCanal", 0, gv_p10_ZERG_WHITEHIVE, PointFromId(1189));
UnitSetScale(UnitLastCreated(), 130.0, 130.0, 130.0);
gv_nydusOBJ01 = UnitLastCreated();
UnitSetPropertyFixed(gv_nydusOBJ01, c_unitPropLifeMax, gv_nydusWormMaximumHP);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:1218
UnitSetPropertyFixed(gv_nydusOBJ01, c_unitPropLifeMax, gv_nydusWormMaximumHP);
libNtve_gf_CreateUnitsAtPoint2(1, "NydusCanal", 0, gv_p10_ZERG_WHITEHIVE, PointFromId(1190));
UnitSetScale(UnitLastCreated(), 130.0, 130.0, 130.0);
gv_nydusOBJ02 = UnitLastCreated();
UnitSetPropertyFixed(gv_nydusOBJ02, c_unitPropLifeMax, gv_nydusWormMaximumHP);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2map — MapScript.galaxy:1222
UnitSetPropertyFixed(gv_nydusOBJ02, c_unitPropLifeMax, gv_nydusWormMaximumHP);
libNtve_gf_CreateUnitsAtPoint2(1, "NydusCanal", 0, gv_p10_ZERG_WHITEHIVE, PointFromId(1191));
UnitSetScale(UnitLastCreated(), 130.0, 130.0, 130.0);
gv_nydusOBJ03 = UnitLastCreated();
UnitSetPropertyFixed(gv_nydusOBJ03, c_unitPropLifeMax, gv_nydusWormMaximumHP);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:8817
libNtve_gf_CreateUnitsAtPoint2(1, "Zeratul", 0, gv_p1_USER, PointFromId(390));
UnitBehaviorAdd(UnitLastCreated(), "SuppressCloak", UnitLastCreated(), 1);
UnitSetScale(UnitLastCreated(), 130.0, 130.0, 130.0);
libNtve_gf_CreateModelAtPoint("ZeratulBlinkIn", PointFromId(390));
Wait(1.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:1413
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
if ((gv_hybridWaves <= 3)) {
UnitSetScale(UnitLastCreated(), 77.0, 77.0, 77.0);
libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "Signal Smaller");
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:1418
if ((gv_hybridWaves >= 7)) {
UnitSetScale(UnitLastCreated(), 133.0, 133.0, 133.0);
libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "Signal Bigger");
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:1566
libNtve_gf_CreateUnitsAtPoint2(1, "Maar", 0, gv_p8_PRISON_STRUCTURE, PointFromId(181));
if ((gv_hybridWaves <= 3)) {
UnitSetScale(UnitLastCreated(), 77.0, 77.0, 77.0);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:1572
if ((gv_hybridWaves >= 7)) {
UnitSetScale(UnitLastCreated(), 133.0, 133.0, 133.0);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:5778
libNtve_gf_MakeUnitInvulnerable(gv_archTemplar01, true);
PingDestroy(gv_pingPrison01);
UnitSetScale(gv_archTemplar01, 120.0, 120.0, 120.0);
libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectDestroythePreserverPrisons, gv_archTemplar01, gv_p1_USER);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:5813
libNtve_gf_MakeUnitInvulnerable(gv_archTemplar02, true);
PingDestroy(gv_pingPrison02);
UnitSetScale(gv_archTemplar02, 120.0, 120.0, 120.0);
libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectDestroythePreserverPrisons, gv_archTemplar02, gv_p1_USER);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:5848
libNtve_gf_MakeUnitInvulnerable(gv_archTemplar03, true);
PingDestroy(gv_pingPrison03);
UnitSetScale(gv_archTemplar03, 120.0, 120.0, 120.0);
libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectDestroythePreserverPrisons, gv_archTemplar03, gv_p1_USER);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:6075
libNtve_gf_ShowHideUnit(gv_preserverPrison03, false);
libNtve_gf_CreateUnitsAtPoint2(1, "PreserverA", 0, gv_p7_NEUTRAL, PointFromId(284));
UnitSetScale(UnitLastCreated(), 150.0, 150.0, 150.0);
gv_preserverPrison01 = UnitLastCreated();
libNtve_gf_CreateUnitsAtPoint2(1, "PreserverB", 0, gv_p7_NEUTRAL, PointFromId(297));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:6078
gv_preserverPrison01 = UnitLastCreated();
libNtve_gf_CreateUnitsAtPoint2(1, "PreserverB", 0, gv_p7_NEUTRAL, PointFromId(297));
UnitSetScale(UnitLastCreated(), 150.0, 150.0, 150.0);
gv_preserverPrison02 = UnitLastCreated();
libNtve_gf_CreateUnitsAtPoint2(1, "PreserverC", 0, gv_p7_NEUTRAL, PointFromId(352));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2map — MapScript.galaxy:6081
gv_preserverPrison02 = UnitLastCreated();
libNtve_gf_CreateUnitsAtPoint2(1, "PreserverC", 0, gv_p7_NEUTRAL, PointFromId(352));
UnitSetScale(UnitLastCreated(), 150.0, 150.0, 150.0);
gv_preserverPrison03 = UnitLastCreated();
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(546), 0.0, -1, 10, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionultralisk.sc2map/MapScript.galaxy:555
gv_tank = UnitLastCreated();
libNtve_gf_CreateUnitsAtPoint2(1, "CivilianCarsUnit", 0, 0, PointFromId(493));
UnitSetScale(UnitLastCreated(), 70.0, 70.0, 70.0);
UnitGroupLoopBegin(UnitGroup("AbandonedBuilding", c_playerAny, RegionFromId(6), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
while (!UnitGroupLoopDone()) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:1060
autoE69DF61F_var = UnitGroupUnitFromEnd(autoE69DF61F_g, autoE69DF61F_u);
if (autoE69DF61F_var == null) { break; }
UnitSetScale(autoE69DF61F_var, 130.0, 130.0, 130.0);
}
gv__2AfterBridgeDominion = UnitGroup(null, gv_p02_DOMINION, RegionFromId(23), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionultralisk.sc2map — MapScript.galaxy:555
gv_tank = UnitLastCreated();
libNtve_gf_CreateUnitsAtPoint2(1, "CivilianCarsUnit", 0, 0, PointFromId(493));
UnitSetScale(UnitLastCreated(), 70.0, 70.0, 70.0);
UnitGroupLoopBegin(UnitGroup("AbandonedBuilding", c_playerAny, RegionFromId(6), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
while (!UnitGroupLoopDone()) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2map — MapScript.galaxy:1060
autoE69DF61F_var = UnitGroupUnitFromEnd(autoE69DF61F_g, autoE69DF61F_u);
if (autoE69DF61F_var == null) { break; }
UnitSetScale(autoE69DF61F_var, 130.0, 130.0, 130.0);
}
gv__2AfterBridgeDominion = UnitGroup(null, gv_p02_DOMINION, RegionFromId(23), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:3209
UnitCreate(1, "RaisingWreckage", 0, 0, gv_crashingDebris[lv_debrisIndex].lv_point, PointGetFacing(gv_crashingDebris[lv_debrisIndex].lv_point));
lv_randomScale = RandomFixed(100.0, 150.0);
UnitSetScale(UnitLastCreated(), lv_randomScale, lv_randomScale, lv_randomScale);
gv_crashingDebris[lv_debrisIndex].lv_actor = libNtve_gf_ActorLastCreated();
TimerStart(gv_crashingDebris[lv_debrisIndex].lv_timer, RandomFixed(15.0, 45.0), false, c_timeGame);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:5255
gv_introDebrisCreated[4] = true;
UnitCreate(1, "RaisingWreckage", 0, 0, gv_introDebrisLocations[4], PointGetFacing(gv_introDebrisLocations[4]));
UnitSetScale(UnitLastCreated(), 125.0, 125.0, 125.0);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "KorhalDestructiblePlatformMedium", 0, 0, gv_introDebrisLocations[4]);
UnitKill(UnitLastCreated());
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:1187
else {
}
UnitSetScale(libVCST_gf_ClickableUnit("Artanis"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("Smith"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("TaldarimHero"), 110.0, 110.0, 110.0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:1188
}
UnitSetScale(libVCST_gf_ClickableUnit("Artanis"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("Smith"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("TaldarimHero"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("DTLeader"), 110.0, 110.0, 110.0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:1189
UnitSetScale(libVCST_gf_ClickableUnit("Artanis"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("Smith"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("TaldarimHero"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("DTLeader"), 110.0, 110.0, 110.0);
gf_SetBridgeEnviromentLighting();
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:1190
UnitSetScale(libVCST_gf_ClickableUnit("Smith"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("TaldarimHero"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("DTLeader"), 110.0, 110.0, 110.0);
gf_SetBridgeEnviromentLighting();
CameraSetChannel(1, libVCST_gf_ClickableUnit("BridgeConsole"), "SMC2_Bridge_Communicator_Camera", 1, 1.0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:1290
}
UnitSetScale(libVCST_gf_ClickableUnit("Artanis"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("Smith"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("TaldarimHero"), 100.0, 100.0, 100.0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:1291
UnitSetScale(libVCST_gf_ClickableUnit("Artanis"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("Smith"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("TaldarimHero"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("DTLeader"), 100.0, 100.0, 100.0);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:1292
UnitSetScale(libVCST_gf_ClickableUnit("Artanis"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("Smith"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("TaldarimHero"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("DTLeader"), 100.0, 100.0, 100.0);
CameraApplyInfo(1, CameraInfoDefault(), 0.0, -1, 10.0, true);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:1293
UnitSetScale(libVCST_gf_ClickableUnit("Smith"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("TaldarimHero"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("DTLeader"), 100.0, 100.0, 100.0);
CameraApplyInfo(1, CameraInfoDefault(), 0.0, -1, 10.0, true);
gv_pylonActivated = false;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2map — MapScript.galaxy:3209
UnitCreate(1, "RaisingWreckage", 0, 0, gv_crashingDebris[lv_debrisIndex].lv_point, PointGetFacing(gv_crashingDebris[lv_debrisIndex].lv_point));
lv_randomScale = RandomFixed(100.0, 150.0);
UnitSetScale(UnitLastCreated(), lv_randomScale, lv_randomScale, lv_randomScale);
gv_crashingDebris[lv_debrisIndex].lv_actor = libNtve_gf_ActorLastCreated();
TimerStart(gv_crashingDebris[lv_debrisIndex].lv_timer, RandomFixed(15.0, 45.0), false, c_timeGame);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2map — MapScript.galaxy:5255
gv_introDebrisCreated[4] = true;
UnitCreate(1, "RaisingWreckage", 0, 0, gv_introDebrisLocations[4], PointGetFacing(gv_introDebrisLocations[4]));
UnitSetScale(UnitLastCreated(), 125.0, 125.0, 125.0);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "KorhalDestructiblePlatformMedium", 0, 0, gv_introDebrisLocations[4]);
UnitKill(UnitLastCreated());
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2map — MapScript.galaxy:1187
else {
}
UnitSetScale(libVCST_gf_ClickableUnit("Artanis"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("Smith"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("TaldarimHero"), 110.0, 110.0, 110.0);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2map — MapScript.galaxy:1188
}
UnitSetScale(libVCST_gf_ClickableUnit("Artanis"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("Smith"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("TaldarimHero"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("DTLeader"), 110.0, 110.0, 110.0);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2map — MapScript.galaxy:1189
UnitSetScale(libVCST_gf_ClickableUnit("Artanis"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("Smith"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("TaldarimHero"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("DTLeader"), 110.0, 110.0, 110.0);
gf_SetBridgeEnviromentLighting();
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2map — MapScript.galaxy:1190
UnitSetScale(libVCST_gf_ClickableUnit("Smith"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("TaldarimHero"), 110.0, 110.0, 110.0);
UnitSetScale(libVCST_gf_ClickableUnit("DTLeader"), 110.0, 110.0, 110.0);
gf_SetBridgeEnviromentLighting();
CameraSetChannel(1, libVCST_gf_ClickableUnit("BridgeConsole"), "SMC2_Bridge_Communicator_Camera", 1, 1.0);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2map — MapScript.galaxy:1290
}
UnitSetScale(libVCST_gf_ClickableUnit("Artanis"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("Smith"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("TaldarimHero"), 100.0, 100.0, 100.0);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2map — MapScript.galaxy:1291
UnitSetScale(libVCST_gf_ClickableUnit("Artanis"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("Smith"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("TaldarimHero"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("DTLeader"), 100.0, 100.0, 100.0);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2map — MapScript.galaxy:1292
UnitSetScale(libVCST_gf_ClickableUnit("Artanis"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("Smith"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("TaldarimHero"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("DTLeader"), 100.0, 100.0, 100.0);
CameraApplyInfo(1, CameraInfoDefault(), 0.0, -1, 10.0, true);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2map — MapScript.galaxy:1293
UnitSetScale(libVCST_gf_ClickableUnit("Smith"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("TaldarimHero"), 100.0, 100.0, 100.0);
UnitSetScale(libVCST_gf_ClickableUnit("DTLeader"), 100.0, 100.0, 100.0);
CameraApplyInfo(1, CameraInfoDefault(), 0.0, -1, 10.0, true);
gv_pylonActivated = false;
mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod — base.stormdata/LibMHtM.galaxy:934
libNtve_gf_SendActorMessageToUnit(libMHtM_gv_mMUnderworldSummonedBoss[lp_team], "ModelSwap UnderworldSummonedBossBetter 1");
lv_sizeScale = 120.0;
UnitSetScale(libMHtM_gv_mMUnderworldSummonedBoss[lp_team], lv_sizeScale, lv_sizeScale, lv_sizeScale);
}
else {
mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod — base.stormdata/LibMHtM.galaxy:939
if ((libMHtM_gf_MMUnderworldSummonedBossBetter(lv_enemyTeam) == true)) {
lv_sizeScale = 90.0;
UnitSetScale(libMHtM_gv_mMUnderworldSummonedBoss[lp_team], lv_sizeScale, lv_sizeScale, lv_sizeScale);
}
else {
mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod — base.stormdata/LibMHtM.galaxy:944
libNtve_gf_SendActorMessageToUnit(libMHtM_gv_mMUnderworldSummonedBoss[lp_team], "ModelSwap UnderworldSummonedBossBetter 1");
lv_sizeScale = 100.0;
UnitSetScale(libMHtM_gv_mMUnderworldSummonedBoss[lp_team], lv_sizeScale, lv_sizeScale, lv_sizeScale);
}
}