# Set Unit Model Variation

Grammar — Set unit unit model to model with variation percent and textures textures
FlagsAction

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 — Unit
  • string<gamelink::Model> — Model
  • int — Variation
  • string — Textures

Returns — void

void libNtve_gf_UnitSetVariation(
	unit lp_unit,
	string lp_model,
	int lp_percent,
	string lp_textures,
);

Category: Unit / Properties

# Examples

campaigns/liberty.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2campaignbase.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.sc2mapMapScript.galaxy:715

    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitGroupAdd(gv_feralBroodLordsGroup, UnitGroupLoopCurrent());
        libNtve_gf_UnitSetVariation(UnitGroupLoopCurrent(), "BroodLord", 0, "");
    }
    UnitGroupLoopEnd();

mods/heroes.stormmodbase.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.stormmodbase.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.stormmodbase.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.stormmodbase.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.stormmapmap/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.stormmapmap/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.stormmapmap/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.stormmapmap/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;