# Set Unit Model Variation
Grammar — Set unit unit model to model with variation percent and textures textures
Flags —Action
Changes a unit’s model to the specified model with the specified variation and can alter the textures with the specified texture props string.
# Arguments
unit
— Unitstring
<gamelink::Model> — Modelint
— Variationstring
— Textures
Returns — void
void libNtve_gf_UnitSetVariation(
unit lp_unit,
string lp_model,
int lp_percent,
string lp_textures,
);
# 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/thanson03a.sc2map/MapScript.galaxy:5990
UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(194)), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(1, "Biodome", 0, gv_pLAYER03_COLONIST, PointFromId(2367));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Biodome", 3, "");
gv_briefingBiodome = UnitLastCreated();
UnitSetPropertyFixed(gv_briefingBiodome, c_unitPropLifePercent, 10.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:5994
UnitSetPropertyFixed(gv_briefingBiodome, c_unitPropLifePercent, 10.0);
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2368));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 5, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2369));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 7, "");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:5996
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 5, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2369));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 7, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2370));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 4, "");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:5998
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 7, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2370));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 4, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2371));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 3, "");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6000
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 4, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2371));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 3, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3534));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 5, "");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6002
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 3, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3534));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 5, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3535));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 3, "");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6004
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 5, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3535));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 3, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3536));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 1, "");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6006
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 3, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3536));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 1, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3537));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 2, "");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6008
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 1, "");
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());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6625
libNtve_gf_CreateUnitsAtPoint2(1, "BioDomeCommand", 0, gv_pLAYER03_COLONIST, PointFromId(1815));
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER03_COLONIST, PointFromId(1816));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 4, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER03_COLONIST, PointFromId(1817));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 8, "");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2505
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");
gv_civMarchSpeaker01 = UnitLastCreated();
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2512
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitLastCreated()), UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueAddToEnd);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(888));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 2, "male,backpack,01");
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2519
Wait(0.2, c_timeGame);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(888));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 2, "male,backpack,02");
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2525
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitLastCreated()), UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueAddToEnd);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(888));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 3, "male,helmet,02");
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2532
Wait(0.2, c_timeGame);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(890));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 3, "male,helmet,03");
gv_civMarchSpeaker02 = UnitLastCreated();
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2539
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitLastCreated()), UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueAddToEnd);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(890));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 1, "male,helmet,01");
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2547
TriggerExecute(gt_CivilianMarchQ, true, false);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(890));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 2, "male,helmet,02");
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2553
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitLastCreated()), UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueAddToEnd);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(890));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 1, "male,03");
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2560
Wait(0.2, c_timeGame);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(891));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 2, "male,helmet,03");
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2566
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitLastCreated()), UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueAddToEnd);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(891));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 1, "male,helmet,03");
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
gv_civMarchSpeaker03 = UnitLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:5332
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_kerrigan), c_animNameDefault, "Stand Morph", c_animFlagPlayForever, c_animTimeDefault);
UnitCreate(1, "InfestationSpire", 0, gv_p05_ZERG_LOW_GROUND_NOAI, PointFromId(560), 99.0);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "InfestationSpire", 4, "");
UnitCreate(1, "InfestationSpire", 0, gv_p05_ZERG_LOW_GROUND_NOAI, PointFromId(561), 298.0);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "InfestationSpire", 2, "");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:5334
libNtve_gf_UnitSetVariation(UnitLastCreated(), "InfestationSpire", 4, "");
UnitCreate(1, "InfestationSpire", 0, gv_p05_ZERG_LOW_GROUND_NOAI, PointFromId(561), 298.0);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "InfestationSpire", 2, "");
UnitCreate(1, "InfestationSpire", 0, gv_p05_ZERG_LOW_GROUND_NOAI, PointFromId(562), 201.0);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "InfestationSpire", 1, "");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:5336
libNtve_gf_UnitSetVariation(UnitLastCreated(), "InfestationSpire", 2, "");
UnitCreate(1, "InfestationSpire", 0, gv_p05_ZERG_LOW_GROUND_NOAI, PointFromId(562), 201.0);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "InfestationSpire", 1, "");
for (auto0ACFD526_i = 1; auto0ACFD526_i <= auto0ACFD526_n; auto0ACFD526_i += 1) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Egg", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(23)));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:5990
UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(194)), c_orderQueueReplace);
libNtve_gf_CreateUnitsAtPoint2(1, "Biodome", 0, gv_pLAYER03_COLONIST, PointFromId(2367));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Biodome", 3, "");
gv_briefingBiodome = UnitLastCreated();
UnitSetPropertyFixed(gv_briefingBiodome, c_unitPropLifePercent, 10.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:5994
UnitSetPropertyFixed(gv_briefingBiodome, c_unitPropLifePercent, 10.0);
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2368));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 5, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2369));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 7, "");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:5996
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 5, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2369));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 7, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2370));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 4, "");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:5998
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 7, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2370));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 4, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2371));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 3, "");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:6000
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 4, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2371));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 3, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3534));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 5, "");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:6002
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 3, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3534));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 5, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3535));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 3, "");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:6004
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 5, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3535));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 3, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3536));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 1, "");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:6006
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 3, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3536));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 1, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3537));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 2, "");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:6008
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 1, "");
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());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:6625
libNtve_gf_CreateUnitsAtPoint2(1, "BioDomeCommand", 0, gv_pLAYER03_COLONIST, PointFromId(1815));
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER03_COLONIST, PointFromId(1816));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 4, "");
libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER03_COLONIST, PointFromId(1817));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 8, "");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:2505
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");
gv_civMarchSpeaker01 = UnitLastCreated();
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:2512
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitLastCreated()), UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueAddToEnd);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(888));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 2, "male,backpack,01");
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:2519
Wait(0.2, c_timeGame);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(888));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 2, "male,backpack,02");
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:2525
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitLastCreated()), UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueAddToEnd);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(888));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 3, "male,helmet,02");
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:2532
Wait(0.2, c_timeGame);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(890));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 3, "male,helmet,03");
gv_civMarchSpeaker02 = UnitLastCreated();
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:2539
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitLastCreated()), UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueAddToEnd);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(890));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 1, "male,helmet,01");
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:2547
TriggerExecute(gt_CivilianMarchQ, true, false);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(890));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 2, "male,helmet,02");
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:2553
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitLastCreated()), UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueAddToEnd);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(890));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 1, "male,03");
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:2560
Wait(0.2, c_timeGame);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(891));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 2, "male,helmet,03");
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2map — MapScript.galaxy:2566
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitLastCreated()), UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueAddToEnd);
libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(891));
libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 1, "male,helmet,03");
gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());
gv_civMarchSpeaker03 = UnitLastCreated();
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:5332
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_kerrigan), c_animNameDefault, "Stand Morph", c_animFlagPlayForever, c_animTimeDefault);
UnitCreate(1, "InfestationSpire", 0, gv_p05_ZERG_LOW_GROUND_NOAI, PointFromId(560), 99.0);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "InfestationSpire", 4, "");
UnitCreate(1, "InfestationSpire", 0, gv_p05_ZERG_LOW_GROUND_NOAI, PointFromId(561), 298.0);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "InfestationSpire", 2, "");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:5334
libNtve_gf_UnitSetVariation(UnitLastCreated(), "InfestationSpire", 4, "");
UnitCreate(1, "InfestationSpire", 0, gv_p05_ZERG_LOW_GROUND_NOAI, PointFromId(561), 298.0);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "InfestationSpire", 2, "");
UnitCreate(1, "InfestationSpire", 0, gv_p05_ZERG_LOW_GROUND_NOAI, PointFromId(562), 201.0);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "InfestationSpire", 1, "");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2map — MapScript.galaxy:5336
libNtve_gf_UnitSetVariation(UnitLastCreated(), "InfestationSpire", 2, "");
UnitCreate(1, "InfestationSpire", 0, gv_p05_ZERG_LOW_GROUND_NOAI, PointFromId(562), 201.0);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "InfestationSpire", 1, "");
for (auto0ACFD526_i = 1; auto0ACFD526_i <= auto0ACFD526_n; auto0ACFD526_i += 1) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "Egg", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(23)));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2map/MapScript.galaxy:715
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
UnitGroupAdd(gv_feralBroodLordsGroup, UnitGroupLoopCurrent());
libNtve_gf_UnitSetVariation(UnitGroupLoopCurrent(), "BroodLord", 0, "");
}
UnitGroupLoopEnd();
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2map — MapScript.galaxy:715
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
UnitGroupAdd(gv_feralBroodLordsGroup, UnitGroupLoopCurrent());
libNtve_gf_UnitSetVariation(UnitGroupLoopCurrent(), "BroodLord", 0, "");
}
UnitGroupLoopEnd();
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:1067
libNtve_gf_CreateUnitsAtPoint2(1, "TownWallRadial4L2", c_unitCreateIgnorePlacement, libCore_gv_cOMPUTER_TeamOrder, PointFromId(27), null);
libGame_gf_TownAddStructureToTownArray(1, UnitLastCreated(), libGame_gf_TownGetTownStructurePresetFromUnit(UnitLastCreated()), libCore_gv_cOMPUTER_TeamChaos);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "WallRadial4", 9, "");
UnitGroupAdd(gv_allTownStructures, UnitLastCreated());
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:1072
libNtve_gf_CreateUnitsAtPoint2(1, "TownWallRadial5L2", c_unitCreateIgnorePlacement, libCore_gv_cOMPUTER_TeamOrder, PointFromId(34), null);
libGame_gf_TownAddStructureToTownArray(1, UnitLastCreated(), libGame_gf_TownGetTownStructurePresetFromUnit(UnitLastCreated()), libCore_gv_cOMPUTER_TeamChaos);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "WallRadial5", 7, "");
UnitGroupAdd(gv_allTownStructures, UnitLastCreated());
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:1114
libNtve_gf_CreateUnitsAtPoint2(1, "TownWallRadial19L2", c_unitCreateIgnorePlacement, libCore_gv_cOMPUTER_TeamChaos, PointFromId(28), null);
libGame_gf_TownAddStructureToTownArray(2, UnitLastCreated(), libGame_gf_TownGetTownStructurePresetFromUnit(UnitLastCreated()), libGame_gv_teamOrderIndex_C);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "WallRadial1", 7, "");
UnitGroupAdd(gv_allTownStructures, UnitLastCreated());
libNtve_gf_CreateUnitsAtPoint2(1, "TownWallRadial18L2", c_unitCreateIgnorePlacement, libCore_gv_cOMPUTER_TeamChaos, PointFromId(36), null);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:1118
libNtve_gf_CreateUnitsAtPoint2(1, "TownWallRadial18L2", c_unitCreateIgnorePlacement, libCore_gv_cOMPUTER_TeamChaos, PointFromId(36), null);
libGame_gf_TownAddStructureToTownArray(2, UnitLastCreated(), libGame_gf_TownGetTownStructurePresetFromUnit(UnitLastCreated()), libGame_gv_teamOrderIndex_C);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "WallRadial0", 10, "");
UnitGroupAdd(gv_allTownStructures, UnitLastCreated());
gv_buildingScopesCount = 0;
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:1067
libNtve_gf_CreateUnitsAtPoint2(1, "TownWallRadial4L2", c_unitCreateIgnorePlacement, libCore_gv_cOMPUTER_TeamOrder, PointFromId(27), null);
libGame_gf_TownAddStructureToTownArray(1, UnitLastCreated(), libGame_gf_TownGetTownStructurePresetFromUnit(UnitLastCreated()), libCore_gv_cOMPUTER_TeamChaos);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "WallRadial4", 9, "");
UnitGroupAdd(gv_allTownStructures, UnitLastCreated());
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:1072
libNtve_gf_CreateUnitsAtPoint2(1, "TownWallRadial5L2", c_unitCreateIgnorePlacement, libCore_gv_cOMPUTER_TeamOrder, PointFromId(34), null);
libGame_gf_TownAddStructureToTownArray(1, UnitLastCreated(), libGame_gf_TownGetTownStructurePresetFromUnit(UnitLastCreated()), libCore_gv_cOMPUTER_TeamChaos);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "WallRadial5", 7, "");
UnitGroupAdd(gv_allTownStructures, UnitLastCreated());
libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:1114
libNtve_gf_CreateUnitsAtPoint2(1, "TownWallRadial19L2", c_unitCreateIgnorePlacement, libCore_gv_cOMPUTER_TeamChaos, PointFromId(28), null);
libGame_gf_TownAddStructureToTownArray(2, UnitLastCreated(), libGame_gf_TownGetTownStructurePresetFromUnit(UnitLastCreated()), libGame_gv_teamOrderIndex_C);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "WallRadial1", 7, "");
UnitGroupAdd(gv_allTownStructures, UnitLastCreated());
libNtve_gf_CreateUnitsAtPoint2(1, "TownWallRadial18L2", c_unitCreateIgnorePlacement, libCore_gv_cOMPUTER_TeamChaos, PointFromId(36), null);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmap — map/MapScript.galaxy:1118
libNtve_gf_CreateUnitsAtPoint2(1, "TownWallRadial18L2", c_unitCreateIgnorePlacement, libCore_gv_cOMPUTER_TeamChaos, PointFromId(36), null);
libGame_gf_TownAddStructureToTownArray(2, UnitLastCreated(), libGame_gf_TownGetTownStructurePresetFromUnit(UnitLastCreated()), libGame_gv_teamOrderIndex_C);
libNtve_gf_UnitSetVariation(UnitLastCreated(), "WallRadial0", 10, "");
UnitGroupAdd(gv_allTownStructures, UnitLastCreated());
gv_buildingScopesCount = 0;