# Set Unit Progress

Grammar — Set progress of unit slot slot to percent%
FlagsNative | Action

Sets a unit’s build/train/etc. progress to a percentage of total completion. This works for training, research, magazine ammo, building construction, add-on construction, and warp-in. This does not work for morphs or specializations.

# Arguments

  • unit — Unit
  • int — Slot
  • int — Percent

Returns — void

native void UnitSetProgressComplete(
	unit inUnit,
	int inSlot,
	int inPercent,
);

Category: Unit / Progress And Queues

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:5594

    }
    UnitGroupIssueOrder(gv_victoryZergGroupS2, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(428)), c_orderQueueReplace);
    UnitSetProgressComplete(gv_victoryLarvaS2, 1, 99);
    Wait(6.0, c_timeGame);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("Zergling", gv_p05_ZERG_LOW_GROUND_NOAI, RegionFromId(20), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_victoryZergGroupS2);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:999

    libCamp_gf_CreateTipFromConversationState("StoryTips|Zeratul04_Stargate", libNtve_ge_TipType_NewStructure, PlayerGroupAll());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Stargate", c_unitCreateConstruct, gv_p01_PLAYER, RegionGetCenter(RegionFromId(80)));
    UnitSetProgressComplete(UnitLastCreated(), 1, 95);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Stargate", c_unitCreateConstruct, gv_p01_PLAYER, RegionGetCenter(RegionFromId(81)));
    UnitSetProgressComplete(UnitLastCreated(), 1, 95);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:1001

    UnitSetProgressComplete(UnitLastCreated(), 1, 95);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Stargate", c_unitCreateConstruct, gv_p01_PLAYER, RegionGetCenter(RegionFromId(81)));
    UnitSetProgressComplete(UnitLastCreated(), 1, 95);
    UnitIssueOrder(gv_superWarpGate_P10, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 11), PointFromId(57)), c_orderQueueReplace);
    UnitIssueOrder(gv_superWarpGate_P10, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 7), PointFromId(630)), c_orderQueueAddToEnd);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:750

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "PhotonCannon", 0, gv_p3_ENEMY_PROTOSS, PointFromId(75));
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Gateway", c_unitCreateConstruct, gv_p3_ENEMY_PROTOSS, RegionGetCenter(RegionFromId(4)));
    UnitSetProgressComplete(UnitLastCreated(), 1, 15);
    while (!((TimerGetRemaining(gv_prepTimer) <= 15.0))) {
        Wait(0.25, c_timeGame);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:5594

    }
    UnitGroupIssueOrder(gv_victoryZergGroupS2, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(428)), c_orderQueueReplace);
    UnitSetProgressComplete(gv_victoryLarvaS2, 1, 99);
    Wait(6.0, c_timeGame);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("Zergling", gv_p05_ZERG_LOW_GROUND_NOAI, RegionFromId(20), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_victoryZergGroupS2);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2mapMapScript.galaxy:999

    libCamp_gf_CreateTipFromConversationState("StoryTips|Zeratul04_Stargate", libNtve_ge_TipType_NewStructure, PlayerGroupAll());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Stargate", c_unitCreateConstruct, gv_p01_PLAYER, RegionGetCenter(RegionFromId(80)));
    UnitSetProgressComplete(UnitLastCreated(), 1, 95);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Stargate", c_unitCreateConstruct, gv_p01_PLAYER, RegionGetCenter(RegionFromId(81)));
    UnitSetProgressComplete(UnitLastCreated(), 1, 95);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul04.sc2mapMapScript.galaxy:1001

    UnitSetProgressComplete(UnitLastCreated(), 1, 95);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Stargate", c_unitCreateConstruct, gv_p01_PLAYER, RegionGetCenter(RegionFromId(81)));
    UnitSetProgressComplete(UnitLastCreated(), 1, 95);
    UnitIssueOrder(gv_superWarpGate_P10, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 11), PointFromId(57)), c_orderQueueReplace);
    UnitIssueOrder(gv_superWarpGate_P10, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 7), PointFromId(630)), c_orderQueueAddToEnd);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2mapMapScript.galaxy:750

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "PhotonCannon", 0, gv_p3_ENEMY_PROTOSS, PointFromId(75));
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Gateway", c_unitCreateConstruct, gv_p3_ENEMY_PROTOSS, RegionGetCenter(RegionFromId(4)));
    UnitSetProgressComplete(UnitLastCreated(), 1, 15);
    while (!((TimerGetRemaining(gv_prepTimer) <= 15.0))) {
        Wait(0.25, c_timeGame);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2map/MapScript.galaxy:4116

    UnitGroupLoopBegin(gv_viperGroup);
    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitSetProgressComplete(UnitGroupLoopCurrent(), 1, 100);
    }
    UnitGroupLoopEnd();

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2map/MapScript.galaxy:3194

    }

    UnitSetProgressComplete(EventUnitProgressUnit(), 1, 80);
    UnitGroupAdd(gv_cinematicTempUnits, EventUnitProgressUnit());
    while (!((UnitGetProgressComplete(EventUnitProgressUnit(), 1) == 100.0) && (libNtve_gf_UnitInRegion(EventUnitProgressUnit(), RegionFromId(10)) == true))) {

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2mapMapScript.galaxy:4116

    UnitGroupLoopBegin(gv_viperGroup);
    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitSetProgressComplete(UnitGroupLoopCurrent(), 1, 100);
    }
    UnitGroupLoopEnd();

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue02.sc2mapMapScript.galaxy:3194

    }

    UnitSetProgressComplete(EventUnitProgressUnit(), 1, 80);
    UnitGroupAdd(gv_cinematicTempUnits, EventUnitProgressUnit());
    while (!((UnitGetProgressComplete(EventUnitProgressUnit(), 1) == 100.0) && (libNtve_gf_UnitInRegion(EventUnitProgressUnit(), RegionFromId(10)) == true))) {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:15357

    Wait(0.5, c_timeGame);
    libVCMI_gf_SendTransmissionCampaign(null, "Tutorial_SC2Core|Line00088", c_transmissionDurationAdd, 0.0, false, libVCMI_ge_MissionTransmissionPortraitOptioins_HidePortraitAfter, libVCMI_ge_MissionTransmissionCueSoundOptions_DefaultCueSoundBehavior);
    UnitSetProgressComplete(gv_zergHatchery, 1, 85);
    UnitGroupLoopBegin(gv_zergStartingDrones);
    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:4879

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Bunker", c_unitCreateConstruct | c_unitCreateIgnorePlacement, gv_pLAYER_02_MOEBIUS, UnitGetPosition(UnitFromId(353)));
    gv_introBunkers[1] = UnitLastCreated();
    UnitSetProgressComplete(UnitLastCreated(), 1, 5);
    UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Bunker", c_unitCreateIgnorePlacement, gv_pLAYER_02_MOEBIUS, UnitGetPosition(UnitFromId(352)));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:5124


    libNtve_gf_CreateUnitsWithDefaultFacing(1, "CyberneticsCore", c_unitCreateConstruct | c_unitCreateIgnorePlacement, gv_pLAYER_01_USER, UnitGetPosition(UnitFromId(2223)));
    UnitSetProgressComplete(UnitLastCreated(), 1, 50);
    UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
    Wait(0.25, c_timeGame);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:5132


    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Gateway", c_unitCreateConstruct | c_unitCreateIgnorePlacement, gv_pLAYER_01_USER, UnitGetPosition(UnitFromId(34)));
    UnitSetProgressComplete(UnitLastCreated(), 1, 50);
    UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
    Wait(0.25, c_timeGame);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:5140


    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Gateway", c_unitCreateConstruct | c_unitCreateIgnorePlacement, gv_pLAYER_01_USER, UnitGetPosition(UnitFromId(977)));
    UnitSetProgressComplete(UnitLastCreated(), 1, 50);
    UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
    Wait(0.5, c_timeGame);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal01.sc2map/MapScript.galaxy:5148


    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Forge", c_unitCreateConstruct | c_unitCreateIgnorePlacement, gv_pLAYER_01_USER, UnitGetPosition(UnitFromId(240)));
    UnitSetProgressComplete(UnitLastCreated(), 1, 50);
    UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
    return true;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pmoebius01.sc2map/MapScript.galaxy:3814

        UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
        UnitGroupAdd(gv_introStartingUnits, UnitLastCreated());
        UnitSetProgressComplete(UnitLastCreated(), 1, 90);
        gf_IntroWaitForNexus(UnitLastCreated());
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pmoebius01.sc2map/MapScript.galaxy:3832

        UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
        UnitGroupAdd(gv_introStartingUnits, UnitLastCreated());
        UnitSetProgressComplete(UnitLastCreated(), 1, 90);
    }
    return true;

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pshakuras02.sc2map/MapScript.galaxy:5145

            UnitCreate(1, UnitGetType(auto2AC3CD85_var), c_unitCreateConstruct | c_unitCreateIgnorePlacement, gv_pLAYER_01_USER, UnitGetPosition(auto2AC3CD85_var), UnitGetFacing(auto2AC3CD85_var));
            UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
            UnitSetProgressComplete(UnitLastCreated(), 1, 50);
        }
        else if (auto95A02C3F_val == "KhaydarinMonolith") {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pshakuras02.sc2map/MapScript.galaxy:5152

            UnitCreate(1, UnitGetType(auto2AC3CD85_var), c_unitCreateConstruct | c_unitCreateIgnorePlacement, gv_pLAYER_01_USER, UnitGetPosition(auto2AC3CD85_var), UnitGetFacing(auto2AC3CD85_var));
            UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
            UnitSetProgressComplete(UnitLastCreated(), 1, 50);
        }
        else {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pshakuras02.sc2map/MapScript.galaxy:5168

        auto6C244A63_val = UnitGetType(autoDC6CACC2_var);
        if (auto6C244A63_val == "PhotonCannon") {
            UnitSetProgressComplete(autoDC6CACC2_var, 1, 80);
        }
        else if (auto6C244A63_val == "KhaydarinMonolith") {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pshakuras02.sc2map/MapScript.galaxy:5171

        }
        else if (auto6C244A63_val == "KhaydarinMonolith") {
            UnitSetProgressComplete(autoDC6CACC2_var, 1, 97);
        }
        else {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:9190

            libNtve_gf_CreateUnitsWithDefaultFacing(1, UnitGetType(autoFD4A7544_var), c_unitCreateConstruct | c_unitCreateIgnorePlacement, gv_pLAYER_01_USER, UnitGetPosition(autoFD4A7544_var));
            if ((UnitGetType(autoFD4A7544_var) == "Nexus")) {
                UnitSetProgressComplete(UnitLastCreated(), 1, 90);
            }
            else {

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:9193

            }
            else {
                UnitSetProgressComplete(UnitLastCreated(), 1, 85);
            }
        }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:15357

    Wait(0.5, c_timeGame);
    libVCMI_gf_SendTransmissionCampaign(null, "Tutorial_SC2Core|Line00088", c_transmissionDurationAdd, 0.0, false, libVCMI_ge_MissionTransmissionPortraitOptioins_HidePortraitAfter, libVCMI_ge_MissionTransmissionCueSoundOptions_DefaultCueSoundBehavior);
    UnitSetProgressComplete(gv_zergHatchery, 1, 85);
    UnitGroupLoopBegin(gv_zergStartingDrones);
    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:4879

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Bunker", c_unitCreateConstruct | c_unitCreateIgnorePlacement, gv_pLAYER_02_MOEBIUS, UnitGetPosition(UnitFromId(353)));
    gv_introBunkers[1] = UnitLastCreated();
    UnitSetProgressComplete(UnitLastCreated(), 1, 5);
    UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Bunker", c_unitCreateIgnorePlacement, gv_pLAYER_02_MOEBIUS, UnitGetPosition(UnitFromId(352)));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:5124


    libNtve_gf_CreateUnitsWithDefaultFacing(1, "CyberneticsCore", c_unitCreateConstruct | c_unitCreateIgnorePlacement, gv_pLAYER_01_USER, UnitGetPosition(UnitFromId(2223)));
    UnitSetProgressComplete(UnitLastCreated(), 1, 50);
    UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
    Wait(0.25, c_timeGame);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:5132


    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Gateway", c_unitCreateConstruct | c_unitCreateIgnorePlacement, gv_pLAYER_01_USER, UnitGetPosition(UnitFromId(34)));
    UnitSetProgressComplete(UnitLastCreated(), 1, 50);
    UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
    Wait(0.25, c_timeGame);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:5140


    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Gateway", c_unitCreateConstruct | c_unitCreateIgnorePlacement, gv_pLAYER_01_USER, UnitGetPosition(UnitFromId(977)));
    UnitSetProgressComplete(UnitLastCreated(), 1, 50);
    UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
    Wait(0.5, c_timeGame);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pkorhal01.sc2mapMapScript.galaxy:5148


    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Forge", c_unitCreateConstruct | c_unitCreateIgnorePlacement, gv_pLAYER_01_USER, UnitGetPosition(UnitFromId(240)));
    UnitSetProgressComplete(UnitLastCreated(), 1, 50);
    UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
    return true;

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pmoebius01.sc2mapMapScript.galaxy:3814

        UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
        UnitGroupAdd(gv_introStartingUnits, UnitLastCreated());
        UnitSetProgressComplete(UnitLastCreated(), 1, 90);
        gf_IntroWaitForNexus(UnitLastCreated());
    }

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pmoebius01.sc2mapMapScript.galaxy:3832

        UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
        UnitGroupAdd(gv_introStartingUnits, UnitLastCreated());
        UnitSetProgressComplete(UnitLastCreated(), 1, 90);
    }
    return true;

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pshakuras02.sc2mapMapScript.galaxy:5145

            UnitCreate(1, UnitGetType(auto2AC3CD85_var), c_unitCreateConstruct | c_unitCreateIgnorePlacement, gv_pLAYER_01_USER, UnitGetPosition(auto2AC3CD85_var), UnitGetFacing(auto2AC3CD85_var));
            UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
            UnitSetProgressComplete(UnitLastCreated(), 1, 50);
        }
        else if (auto95A02C3F_val == "KhaydarinMonolith") {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pshakuras02.sc2mapMapScript.galaxy:5152

            UnitCreate(1, UnitGetType(auto2AC3CD85_var), c_unitCreateConstruct | c_unitCreateIgnorePlacement, gv_pLAYER_01_USER, UnitGetPosition(auto2AC3CD85_var), UnitGetFacing(auto2AC3CD85_var));
            UnitGroupAdd(gv_cinematicTempUnits, UnitLastCreated());
            UnitSetProgressComplete(UnitLastCreated(), 1, 50);
        }
        else {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pshakuras02.sc2mapMapScript.galaxy:5168

        auto6C244A63_val = UnitGetType(autoDC6CACC2_var);
        if (auto6C244A63_val == "PhotonCannon") {
            UnitSetProgressComplete(autoDC6CACC2_var, 1, 80);
        }
        else if (auto6C244A63_val == "KhaydarinMonolith") {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pshakuras02.sc2mapMapScript.galaxy:5171

        }
        else if (auto6C244A63_val == "KhaydarinMonolith") {
            UnitSetProgressComplete(autoDC6CACC2_var, 1, 97);
        }
        else {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2mapMapScript.galaxy:9190

            libNtve_gf_CreateUnitsWithDefaultFacing(1, UnitGetType(autoFD4A7544_var), c_unitCreateConstruct | c_unitCreateIgnorePlacement, gv_pLAYER_01_USER, UnitGetPosition(autoFD4A7544_var));
            if ((UnitGetType(autoFD4A7544_var) == "Nexus")) {
                UnitSetProgressComplete(UnitLastCreated(), 1, 90);
            }
            else {

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2mapMapScript.galaxy:9193

            }
            else {
                UnitSetProgressComplete(UnitLastCreated(), 1, 85);
            }
        }

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:1905

    }

    UnitSetProgressComplete(EventUnitProgressUnit(), 1, 60);
    return true;
}

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:2455

    }

    UnitSetProgressComplete(EventUnitProgressUnit(), 1, 60);
    return true;
}

mods/novastoryassets.sc2modbase.sc2maps/maps/campaign/nova/nova02.sc2map/MapScript.galaxy:6034

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SupplyDepot", c_unitCreateConstruct, gv_pLAYER_01_USER, UnitGetPosition(UnitFromId(146)));
    gv_introSupplyDepot = UnitLastCreated();
    UnitSetProgressComplete(gv_introSupplyDepot, 1, 55);
    UnitGroupAdd(gv_cinematicTempUnits, gv_introSupplyDepot);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SCV", c_unitCreateIgnorePlacement, gv_pLAYER_01_USER, UnitGetPosition(UnitFromId(146)));

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2mapMapScript.galaxy:1905

    }

    UnitSetProgressComplete(EventUnitProgressUnit(), 1, 60);
    return true;
}

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2mapMapScript.galaxy:2455

    }

    UnitSetProgressComplete(EventUnitProgressUnit(), 1, 60);
    return true;
}

mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova02.sc2mapMapScript.galaxy:6034

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SupplyDepot", c_unitCreateConstruct, gv_pLAYER_01_USER, UnitGetPosition(UnitFromId(146)));
    gv_introSupplyDepot = UnitLastCreated();
    UnitSetProgressComplete(gv_introSupplyDepot, 1, 55);
    UnitGroupAdd(gv_cinematicTempUnits, gv_introSupplyDepot);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SCV", c_unitCreateIgnorePlacement, gv_pLAYER_01_USER, UnitGetPosition(UnitFromId(146)));

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:17373

    lv_researchTotal = UnitQueueItemTime(EventUnit(), c_unitQueueTimeTotal, 1);
    if ((lv_researchTotal != 0.0)) {
        UnitSetProgressComplete(EventUnit(), 1, FixedToInt(((lv_researchElapsed / lv_researchTotal) * 100)));
    }