# Convert Integer To Real

Grammar — Real(val|Integer)
FlagsNative | Function

Converts an integer into a real value.

# Arguments

  • int — Value

Returns — fixed

native fixed IntToFixed(int x);

Category: Conversion / Basic Conversions

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:663

    for ( ; ( (auto9DCA9D7B_ai >= 0 && lv_index <= auto9DCA9D7B_ae) || (auto9DCA9D7B_ai <= 0 && lv_index >= auto9DCA9D7B_ae) ) ; lv_index += auto9DCA9D7B_ai ) {
        Wait(0.0125, c_timeGame);
        UnitSetPosition(gv_viking, PointWithOffsetPolar(lv_pos, (0.8 * IntToFixed(lv_index)), 90.0), true);
    }
    gf_FadeInOutWithPicture(false, 1.5, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:1279

    lv_index = -4;
    for ( ; ( (autoE9518B94_ai >= 0 && lv_index <= autoE9518B94_ae) || (autoE9518B94_ai <= 0 && lv_index >= autoE9518B94_ae) ) ; lv_index += autoE9518B94_ai ) {
        lv_x = (lp_centerX + (IntToFixed(lv_index) + 0.0));
        if ((RandomInt(1, 10) <= lp_bullet)) {
            lv_shoot = 1;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:1292

    lv_index = -7;
    for ( ; ( (auto4F293FB9_ai >= 0 && lv_index <= auto4F293FB9_ae) || (auto4F293FB9_ai <= 0 && lv_index >= auto4F293FB9_ae) ) ; lv_index += auto4F293FB9_ai ) {
        lv_x = (lp_centerX + (IntToFixed(lv_index) + 0.0));
        if ((RandomInt(1, 10) <= lp_bullet)) {
            lv_shoot = 1;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3372


    // Implementation
    lv_modifiedPoints = FixedToInt((IntToFixed(lp_points) * (1.0 + (IntToFixed(gv_repeatTimes) * gv_c_ScoreBonus))));
    return lv_modifiedPoints;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3372


    // Implementation
    lv_modifiedPoints = FixedToInt((IntToFixed(lp_points) * (1.0 + (IntToFixed(gv_repeatTimes) * gv_c_ScoreBonus))));
    return lv_modifiedPoints;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3492

    }
    if ((gv_levelTotalEnemy > 0)) {
        libNtve_gf_SetDialogItemText(lv_textRight, (IntToText(lv_shotDownTotal) + StringExternal("Param/Value/C4230C9B") + IntToText(FixedToInt((IntToFixed((lv_shotDownTotal * 100)) / IntToFixed(gv_levelTotalEnemy)))) + StringExternal("Param/Value/DDBC414E")), PlayerGroupAll());
    }
    else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3492

    }
    if ((gv_levelTotalEnemy > 0)) {
        libNtve_gf_SetDialogItemText(lv_textRight, (IntToText(lv_shotDownTotal) + StringExternal("Param/Value/C4230C9B") + IntToText(FixedToInt((IntToFixed((lv_shotDownTotal * 100)) / IntToFixed(gv_levelTotalEnemy)))) + StringExternal("Param/Value/DDBC414E")), PlayerGroupAll());
    }
    else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3526

    }
    if ((gv_levelTotalPowerups > 0)) {
        libNtve_gf_SetDialogItemText(lv_textRight, (IntToText(lv_pickupTotal) + StringExternal("Param/Value/CBF8FDF4") + IntToText(FixedToInt((IntToFixed((lv_pickupTotal * 100)) / IntToFixed(gv_levelTotalPowerups)))) + StringExternal("Param/Value/A4B46239")), PlayerGroupAll());
    }
    else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3526

    }
    if ((gv_levelTotalPowerups > 0)) {
        libNtve_gf_SetDialogItemText(lv_textRight, (IntToText(lv_pickupTotal) + StringExternal("Param/Value/CBF8FDF4") + IntToText(FixedToInt((IntToFixed((lv_pickupTotal * 100)) / IntToFixed(gv_levelTotalPowerups)))) + StringExternal("Param/Value/A4B46239")), PlayerGroupAll());
    }
    else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4842

            }
        }
        lv_respawnInterceptorCount = FixedToInt(((IntToFixed(lv_deadInterceptorCount) + 1.0) * 0.666));
        auto728B51A3_ae = gv_level1InterceptorCount;
        auto728B51A3_ai = 1;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:2500

            if ((DistanceBetweenPoints(UnitGetPosition(lv_pickedUnit), gv_escortRouteRallyPoints[lv_customIntValueOfUnit]) <= 1.5)) {
                UnitIssueOrder(lv_pickedUnit, OrderTargetingPoint(AbilityCommand("move", 0), gv_escortRouteRallyPoints[(lv_customIntValueOfUnit - 1)]), c_orderQueueReplace);
                UnitSetCustomValue(lv_pickedUnit, 0, IntToFixed((lv_customIntValueOfUnit - 1)));
                if ((lv_pickedUnit == gv_tHEONETRUCK)) {
                    auto3EDA1359_g = UnitCargoGroup(gv_tHEONETRUCK);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:2507

                        auto3EDA1359_var = UnitGroupUnitFromEnd(auto3EDA1359_g, auto3EDA1359_u);
                        if (auto3EDA1359_var == null) { break; }
                        UnitSetCustomValue(lv_pickedUnit, 0, IntToFixed((lv_customIntValueOfUnit - 1)));
                    }
                }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1750

    while (true) {
        TriggerExecute(gt_UpdateSpawnSettings, true, false);
        Wait(IntToFixed(gv_spawnCooldown), c_timeGame);
        if ((UnitGroupCount(gv_infestedStructureGroup, c_unitCountAlive) == 0)) {
            return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1836

        autoE55A534E_var = UnitGroupUnitFromEnd(autoE55A534E_g, autoE55A534E_u);
        if (autoE55A534E_var == null) { break; }
        UnitSetCustomValue(autoE55A534E_var, 2, IntToFixed(lv_i));
        libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(gv_pLAYER_01_USER), "PingWarning", UnitGetPosition(autoE55A534E_var), ColorWithAlpha(100.00, 0.00, 0.00, 0.00), 0.0, 270.0);
        PingSetScale(PingLastCreated(), 0.75);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:327

    // Implementation
    if ((lp_count >= 1)) {
        lv_unitInterval = (360.0 / IntToFixed(lp_count));
        lv_currentDegree = (lp_angleOffset + (lp_intervalOffsets * lv_unitInterval));
        auto107C7AF6_n = lp_count;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:362

        gv_infestationVirophageSpot[lp_colonyIndex] = UnitGetPosition(gv_infestationVirophageUnit[lp_colonyIndex]);
        gv_infestationColonyLost[lp_colonyIndex] = true;
        UnitSetCustomValue(gv_infestationVirophageUnit[lp_colonyIndex], 1, IntToFixed(lp_colonyIndex));
        UnitSetInfoText(gv_infestationVirophageUnit[lp_colonyIndex], StringToText(""), StringExternal("Param/Value/8ABD065E"), StringExternal("Param/Value/E1028619"));
        UnitSetState(gv_infestationVirophageUnit[lp_colonyIndex], c_unitStateTooltipable, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:632


        UnitCargoCreate(lv_overlord, "Drone", 1);
        UnitSetCustomValue(UnitCargoLastCreated(), 1, IntToFixed(lp_colonyIndex));
        lv_drone = UnitCargoLastCreated();
        gf_DropCargoAndWait(lv_overlord, lv_drone, 2.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:796

    // Implementation
    libNtve_gf_CreateUnitsWithDefaultFacing(1, gv_eGG_UNIT, 0, gv_p07_ZERG_INFESTED, lp_spawnLoc);
    UnitSetCustomValue(UnitLastCreated(), (ge_UnitData_udEggType), IntToFixed((lp_type)));
    UnitSetCustomValue(UnitLastCreated(), (ge_UnitData_udEggScale), gv_eGG_SIZE_BASE);
    UnitSetCustomValue(UnitLastCreated(), (ge_UnitData_udEggColony), IntToFixed(lp_colonyIndex));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:798

    UnitSetCustomValue(UnitLastCreated(), (ge_UnitData_udEggType), IntToFixed((lp_type)));
    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.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1510

    lv_colonyIndex = FixedToInt(UnitGetCustomValue(EventUnit(), 1));
    gv_infestationVirophageUnit[lv_colonyIndex] = EventUnitProgressUnit();
    UnitSetCustomValue(gv_infestationVirophageUnit[lv_colonyIndex], 1, IntToFixed(lv_colonyIndex));
    UnitForceStatusBar(EventUnitProgressUnit(), true);
    UnitSetInfoText(EventUnitProgressUnit(), StringToText(""), StringExternal("Param/Value/55694EB6"), StringExternal("Param/Value/A5396465"));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:571

    lv_currentTarget = (lp_pathIndex + 1);
    libNtve_gf_CreateUnitsAtPoint2(1, "TarsonisEngine", 0, gv_pLAYER_06_TRAIN, lv_currentPoint);
    UnitSetCustomValue(UnitLastCreated(), 0, IntToFixed(lv_currentTarget));
    auto46B67D1A_ae = lp_numberOfCars;
    lv_i = 2;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:600

            libNtve_gf_CreateUnitsAtPoint2(1, "FreightCar", 0, gv_pLAYER_06_TRAIN, lv_currentPoint);
        }
        UnitSetCustomValue(UnitLastCreated(), 0, IntToFixed(lv_currentTarget));
    }
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:1922

                libNtve_gf_CreateUnitsAtPoint2(1, lv_trainCarType, 0, gv_pLAYER_06_TRAIN, lv_spawnLocation);
                gv_trainList[lv_trainsToSpawn[lv_i]].lv_trainCars[lv_currentCar] = UnitLastCreated();
                UnitSetCustomValue(UnitLastCreated(), 0, IntToFixed(lv_initialCustomValue));
                UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, (UnitTypeGetProperty("TarsonisEngine", c_unitPropMovementSpeed) * gv_trainList[lv_trainsToSpawn[lv_i]].lv_speedMultiplier));
                UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLifeMax, gv_trainList[lv_trainsToSpawn[lv_i]].lv_maxLife);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:1931

                libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_pLAYER_01_USER);
                UnitSetInfoText(UnitLastCreated(), StringExternal("Param/Value/A0649087"), StringToText(""), StringToText(""));
                gf_PlayDamagedAnimationsforTrainCar(UnitLastCreated(), ((100.0 / (IntToFixed(gv_trainList[lv_trainsToSpawn[lv_i]].lv_numberOfCars) + 1.0)) * IntToFixed(lv_currentCar)));
                if (((lv_trainCarType == "TarsonisEngine") || (lv_trainCarType == "TarsonisEngineFast"))) {
                    gf_ActivatePingforTrainCar(UnitLastCreated());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:1931

                libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_pLAYER_01_USER);
                UnitSetInfoText(UnitLastCreated(), StringExternal("Param/Value/A0649087"), StringToText(""), StringToText(""));
                gf_PlayDamagedAnimationsforTrainCar(UnitLastCreated(), ((100.0 / (IntToFixed(gv_trainList[lv_trainsToSpawn[lv_i]].lv_numberOfCars) + 1.0)) * IntToFixed(lv_currentCar)));
                if (((lv_trainCarType == "TarsonisEngine") || (lv_trainCarType == "TarsonisEngineFast"))) {
                    gf_ActivatePingforTrainCar(UnitLastCreated());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:5916

    lv_i = 1;
    for ( ; ( (auto92BAF6BC_ai >= 0 && lv_i <= auto92BAF6BC_ae) || (auto92BAF6BC_ai < 0 && lv_i >= auto92BAF6BC_ae) ) ; lv_i += auto92BAF6BC_ai ) {
        libNtve_gf_UnitCreateFacingPoint(1, "Marine", 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(lv_crate), RandomFixed(2.0, 4.0), ((90.0 * IntToFixed(lv_i)) + 45.0)), UnitGetPosition(lv_crate));
        UnitGroupAdd(lv_crateUnits, UnitLastCreated());
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1363

    BoardItemSetTextColor(gv_merc_Contract_Price_Board, 1, 1, Color(0.00, 100.00, 100.00));
    BoardItemSetFontSize(gv_merc_Contract_Price_Board, 1, 1, 18);
    BoardItemSetProgressRange(gv_merc_Contract_Price_Board, 1, 2, 0.0, IntToFixed(gv_mERC_CONTRACT_PRICE));
    BoardItemSetProgressColor(gv_merc_Contract_Price_Board, 1, 2, Color(0.00, 100.00, 100.00), 1);
    BoardItemSetProgressShow(gv_merc_Contract_Price_Board, 1, 4, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1369

    BoardItemSetTextColor(gv_merc_Contract_Price_Board, 1, 3, Color(75.29, 0.00, 0.00));
    BoardItemSetFontSize(gv_merc_Contract_Price_Board, 1, 3, 18);
    BoardItemSetProgressRange(gv_merc_Contract_Price_Board, 1, 4, 0.0, IntToFixed(gv_mERC_CONTRACT_PRICE));
    BoardItemSetProgressColor(gv_merc_Contract_Price_Board, 1, 4, Color(100.00, 0.00, 0.00), 1);
    BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 2, IntToFixed(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1371

    BoardItemSetProgressRange(gv_merc_Contract_Price_Board, 1, 4, 0.0, IntToFixed(gv_mERC_CONTRACT_PRICE));
    BoardItemSetProgressColor(gv_merc_Contract_Price_Board, 1, 4, Color(100.00, 0.00, 0.00), 1);
    BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 2, IntToFixed(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)));
    BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 4, IntToFixed(gv_oRLANS_MINERAL_COUNT));
    BoardItemSetIcon(gv_merc_Contract_Price_Board, 1, 2, "Assets\\Textures\\icon-mineral-terran.dds", false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1372

    BoardItemSetProgressColor(gv_merc_Contract_Price_Board, 1, 4, Color(100.00, 0.00, 0.00), 1);
    BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 2, IntToFixed(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)));
    BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 4, IntToFixed(gv_oRLANS_MINERAL_COUNT));
    BoardItemSetIcon(gv_merc_Contract_Price_Board, 1, 2, "Assets\\Textures\\icon-mineral-terran.dds", false);
    BoardItemSetIcon(gv_merc_Contract_Price_Board, 1, 4, "Assets\\Textures\\icon-mineral-zerg.dds", false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1407

    }

    BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 2, IntToFixed(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)));
    BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 4, IntToFixed(gv_oRLANS_MINERAL_COUNT));
    BoardItemSetText(gv_merc_Contract_Price_Board, 1, 1, (StringExternal("Param/Value/BC8609EA") + IntToText(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals))));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1408


    BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 2, IntToFixed(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)));
    BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 4, IntToFixed(gv_oRLANS_MINERAL_COUNT));
    BoardItemSetText(gv_merc_Contract_Price_Board, 1, 1, (StringExternal("Param/Value/BC8609EA") + IntToText(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals))));
    BoardItemSetText(gv_merc_Contract_Price_Board, 1, 3, (StringExternal("Param/Value/92B49FB8") + IntToText(gv_oRLANS_MINERAL_COUNT)));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:4012

        }

        if (!((IntToFixed(gv_oRLANS_MINERAL_COUNT) >= (IntToFixed(gv_mERC_CONTRACT_PRICE) / 2.0)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:4012

        }

        if (!((IntToFixed(gv_oRLANS_MINERAL_COUNT) >= (IntToFixed(gv_mERC_CONTRACT_PRICE) / 2.0)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:4058

        }

        if (!((IntToFixed(gv_oRLANS_MINERAL_COUNT) >= (IntToFixed(gv_mERC_CONTRACT_PRICE) - 1000.0)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:4058

        }

        if (!((IntToFixed(gv_oRLANS_MINERAL_COUNT) >= (IntToFixed(gv_mERC_CONTRACT_PRICE) - 1000.0)))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:472

    lv_numberOfPlayerUnitsByCOP = UnitGroupCount(UnitGroup(null, gv_p01_USER, RegionCircle(UnitGetPosition(lp_unit), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32))), 0), c_unitCountAlive);
    lv_realInterval = 1.0;
    lv_realCurrent = (lv_realInterval * IntToFixed(gv_transmissionProgress[lp_index]));
    lv_text1 = StringExternal("Param/Value/C2EAFB32");
    lv_text2 = FixedToText(lv_realCurrent, 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:5055

    lv_i = 1;
    for ( ; ( (auto9137C3C2_ai >= 0 && lv_i <= auto9137C3C2_ae) || (auto9137C3C2_ai < 0 && lv_i >= auto9137C3C2_ae) ) ; lv_i += auto9137C3C2_ai ) {
        lv_marinePoints1[lv_i] = PointWithOffsetPolar(PointFromId(1306), 1.0, (IntToFixed(lv_i) * 90.0));
        lv_marinePoints2[lv_i] = PointWithOffsetPolar(PointFromId(1307), 1.0, (IntToFixed(lv_i) * 90.0));
        UnitCreate(1, "Marine", 0, gv_pLAYER_01_USER, lv_marinePoints1[1], 225.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:5056

    for ( ; ( (auto9137C3C2_ai >= 0 && lv_i <= auto9137C3C2_ae) || (auto9137C3C2_ai < 0 && lv_i >= auto9137C3C2_ae) ) ; lv_i += auto9137C3C2_ai ) {
        lv_marinePoints1[lv_i] = PointWithOffsetPolar(PointFromId(1306), 1.0, (IntToFixed(lv_i) * 90.0));
        lv_marinePoints2[lv_i] = PointWithOffsetPolar(PointFromId(1307), 1.0, (IntToFixed(lv_i) * 90.0));
        UnitCreate(1, "Marine", 0, gv_pLAYER_01_USER, lv_marinePoints1[1], 225.0);
        lv_marineUnits[lv_i] = UnitLastCreated();

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2443

    // Implementation
    gf_SetUnitClickableLockCount(c_transmissionDurationSet, lp_unit, 0);
    UnitSetCustomValue(lp_unit, (ge_CustomDataIndex_CustomDataIndexClickableRoom), IntToFixed((lp_room)));
    gf_SetClickableCursorType(lp_unit, lp_cursorType);
    UnitGroupAdd(lp_whichClickables, lp_unit);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2475


    // Implementation
    lv_value = IntToFixed(gf_GetUnitClickableLockCount(lp_unit));
    auto708E87AD_val = lp_action;
    if (auto708E87AD_val == c_transmissionDurationSet) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2478

    auto708E87AD_val = lp_action;
    if (auto708E87AD_val == c_transmissionDurationSet) {
        lv_value = IntToFixed(lp_lock);
    }
    else if (auto708E87AD_val == c_transmissionDurationAdd) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2481

    }
    else if (auto708E87AD_val == c_transmissionDurationAdd) {
        lv_value = (lv_value + IntToFixed(lp_lock));
    }
    else if (auto708E87AD_val == c_transmissionDurationSub) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2484

    }
    else if (auto708E87AD_val == c_transmissionDurationSub) {
        lv_value = (lv_value - IntToFixed(lp_lock));
    }
    else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4882

    // Implementation
    gv_debug_BriefingMissioniButtonNewLine = false;
    lv_rX = (lv_width * IntToFixed(gv_debug_BriefingMissioniButtonX));
    lv_rY = IntToFixed(gv_debug_BriefingMissioniButtonY);
    libCamp_gf_CreateDialogItemInGrid(gv_debug_BriefingDialog, c_triggerControlTypeButton, c_anchorTopLeft, lv_rX, lv_rY, lv_width, 1.0, StringToText(libCamp_gv_tS_MapFile[(lp_mission)]));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4883

    gv_debug_BriefingMissioniButtonNewLine = false;
    lv_rX = (lv_width * IntToFixed(gv_debug_BriefingMissioniButtonX));
    lv_rY = IntToFixed(gv_debug_BriefingMissioniButtonY);
    libCamp_gf_CreateDialogItemInGrid(gv_debug_BriefingDialog, c_triggerControlTypeButton, c_anchorTopLeft, lv_rX, lv_rY, lv_width, 1.0, StringToText(libCamp_gv_tS_MapFile[(lp_mission)]));
    libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "BriefingDebugButtonText", PlayerGroupAll());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4966

    libCamp_gf_CreateDialogItemInGrid(gv_debug_BriefingDialog, c_triggerControlTypeButton, c_anchorBottomRight, 0.0, 0.0, 4.0, 1.0, StringExternal("Param/Value/F4DB8A5C"));
    gv_debug_BriefingButtonClose = DialogControlLastCreated();
    libCamp_gf_SetDialogSizeInGrid(gv_debug_BriefingDialog, gv_debug_BriefingMissioniButtonXMax, IntToFixed((gv_debug_BriefingMissioniButtonY + 2)));
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4981

    // Implementation
    gv_debug_TVNewsMissioniButtonNewLine = false;
    lv_rX = (0.3 + ((lv_width - 0.03) * IntToFixed(gv_debug_TVNewsMissioniButtonX)));
    lv_rY = (IntToFixed(gv_debug_TVNewsMissioniButtonY) * 1.25);
    libCamp_gf_CreateDialogItemInGrid(gv_debug_TVNewsDialog, c_triggerControlTypeButton, c_anchorTopLeft, lv_rX, lv_rY, lv_width, lv_height, libCamp_gf_MissionName(lp_mission));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4982

    gv_debug_TVNewsMissioniButtonNewLine = false;
    lv_rX = (0.3 + ((lv_width - 0.03) * IntToFixed(gv_debug_TVNewsMissioniButtonX)));
    lv_rY = (IntToFixed(gv_debug_TVNewsMissioniButtonY) * 1.25);
    libCamp_gf_CreateDialogItemInGrid(gv_debug_TVNewsDialog, c_triggerControlTypeButton, c_anchorTopLeft, lv_rX, lv_rY, lv_width, lv_height, libCamp_gf_MissionName(lp_mission));
    libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "TVNewsDebugButtonText", PlayerGroupAll());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:325

    UnitIssueOrder(lv_harvestingProbe, OrderTargetingUnit(AbilityCommand("ProbeHarvest", 0), gf_NodeMatchingCustomValue(lv_targetTerrazineIndex)), c_orderQueueAddToEnd);
    UnitGroupAdd(gv_probeHarvesters, lv_harvestingProbe);
    UnitSetCustomValue(lv_harvestingProbe, 2, IntToFixed(lv_targetTerrazineIndex));
    UnitSetCustomValue(lv_harvestingProbe, 3, IntToFixed(lp_secondaryRegionSearchIndex));
    autoD1A8BB6F_val = gv_protossThreatLevel;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:326

    UnitGroupAdd(gv_probeHarvesters, lv_harvestingProbe);
    UnitSetCustomValue(lv_harvestingProbe, 2, IntToFixed(lv_targetTerrazineIndex));
    UnitSetCustomValue(lv_harvestingProbe, 3, IntToFixed(lp_secondaryRegionSearchIndex));
    autoD1A8BB6F_val = gv_protossThreatLevel;
    if (autoD1A8BB6F_val == 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:334

        AIAttackWaveSetTargetEscortNL(gv_p4_PROTOSS_WEST_ESCORTS, libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe), 0);
        lv_escortCount = libNtve_gf_DifficultyValueInt(1, 1, 2, 3);
        lv_offsetAngle = gf_CalculateOffset(IntToFixed(lv_escortCount));
        auto7291BAD7_ae = lv_escortCount;
        lv_i = 1;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:338

        lv_i = 1;
        for ( ; ( (auto7291BAD7_ai >= 0 && lv_i <= auto7291BAD7_ae) || (auto7291BAD7_ai < 0 && lv_i >= auto7291BAD7_ae) ) ; lv_i += auto7291BAD7_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "Scout", lv_harvestingProbe, 3.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        AIAttackWaveSend(gv_p4_PROTOSS_WEST_ESCORTS, 0, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:348

        AIAttackWaveSetTargetEscortNL(gv_p4_PROTOSS_WEST_ESCORTS, libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe), 0);
        lv_escortCount = libNtve_gf_DifficultyValueInt(2, 2, 3, 3);
        lv_offsetAngle = gf_CalculateOffset(IntToFixed(lv_escortCount));
        autoD3883E60_ae = lv_escortCount;
        lv_i = 1;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:352

        lv_i = 1;
        for ( ; ( (autoD3883E60_ai >= 0 && lv_i <= autoD3883E60_ae) || (autoD3883E60_ai < 0 && lv_i >= autoD3883E60_ae) ) ; lv_i += autoD3883E60_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "Scout", lv_harvestingProbe, 3.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        AIAttackWaveSend(gv_p4_PROTOSS_WEST_ESCORTS, 0, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:362

        AIAttackWaveSetTargetEscortNL(gv_p4_PROTOSS_WEST_ESCORTS, libNtve_gf_ConvertUnitToUnitGroup(lv_harvestingProbe), 0);
        lv_escortCount = libNtve_gf_DifficultyValueInt(2, 2, 3, 3);
        lv_offsetAngle = gf_CalculateOffset(IntToFixed(lv_escortCount));
        auto4A5B622D_ae = lv_escortCount;
        lv_i = 1;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:366

        lv_i = 1;
        for ( ; ( (auto4A5B622D_ai >= 0 && lv_i <= auto4A5B622D_ae) || (auto4A5B622D_ai < 0 && lv_i >= auto4A5B622D_ae) ) ; lv_i += auto4A5B622D_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "Scout", lv_harvestingProbe, 3.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        lv_escortCount = libNtve_gf_DifficultyValueInt(1, 1, 2, 2);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:369

        }
        lv_escortCount = libNtve_gf_DifficultyValueInt(1, 1, 2, 2);
        lv_offsetAngle = gf_CalculateOffset(IntToFixed(lv_escortCount));
        auto3E772D7A_ae = lv_escortCount;
        lv_i = 1;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:373

        lv_i = 1;
        for ( ; ( (auto3E772D7A_ai >= 0 && lv_i <= auto3E772D7A_ae) || (auto3E772D7A_ai < 0 && lv_i >= auto3E772D7A_ae) ) ; lv_i += auto3E772D7A_ai ) {
            AIAttackWaveAddEscortType(gv_p4_PROTOSS_WEST_ESCORTS, "VoidRay", lv_harvestingProbe, 1.5, (lv_offsetAngle * IntToFixed(lv_i)));
        }
        AIAttackWaveSend(gv_p4_PROTOSS_WEST_ESCORTS, 0, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:225

    lv_i = 1;
    for ( ; ( (autoF012CF68_ai >= 0 && lv_i <= autoF012CF68_ae) || (autoF012CF68_ai < 0 && lv_i >= autoF012CF68_ae) ) ; lv_i += autoF012CF68_ai ) {
        if ((CreepIsPresent(PointWithOffsetPolar(lp_point, 1.0, (IntToFixed(lv_i) * 90.0))) == false)) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:4717

    lv_i = 0;
    for ( ; ( (auto4FBF48F4_ai >= 0 && lv_i <= auto4FBF48F4_ae) || (auto4FBF48F4_ai < 0 && lv_i >= auto4FBF48F4_ae) ) ; lv_i += auto4FBF48F4_ai ) {
        libNtve_gf_CreateUnitsAtPoint2(1, "Zealot", 0, gv_p3_TEMPLE, PointWithOffset(PointFromId(75), IntToFixed(lv_i), 1.0));
        UnitSetFacing(UnitLastCreated(), 180.0, 0.0);
        AISetUnitScriptControlled(UnitLastCreated(), true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:4720

        UnitSetFacing(UnitLastCreated(), 180.0, 0.0);
        AISetUnitScriptControlled(UnitLastCreated(), true);
        libNtve_gf_CreateUnitsAtPoint2(1, "Zealot", 0, gv_p3_TEMPLE, PointWithOffset(PointFromId(75), IntToFixed(lv_i), -1.0));
        UnitSetFacing(UnitLastCreated(), 180.0, 0.0);
        AISetUnitScriptControlled(UnitLastCreated(), true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:2366

    lv_i = 1;
    for ( ; ( (auto04D15821_ai >= 0 && lv_i <= auto04D15821_ae) || (auto04D15821_ai < 0 && lv_i >= auto04D15821_ae) ) ; lv_i += auto04D15821_ai ) {
        lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        RegionAddCircle(gv_soundRegion, true, Point(lv_x, lv_y), 3.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:2367

    for ( ; ( (auto04D15821_ai >= 0 && lv_i <= auto04D15821_ae) || (auto04D15821_ai < 0 && lv_i >= auto04D15821_ae) ) ; lv_i += auto04D15821_ai ) {
        lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        RegionAddCircle(gv_soundRegion, true, Point(lv_x, lv_y), 3.0);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:3192

    gv_dAWWaypoint = null;
    lv_lingerTime = MinI(lv_lingerTime, lv_arrivalTime);
    Wait(IntToFixed((lv_arrivalTime - lv_lingerTime)), c_timeAI);
    auto433B3895_ae = lv_unitCount;
    lv_index = 1;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:5500

    lv_i = 1;
    for ( ; ( (auto7E34D74B_ai >= 0 && lv_i <= auto7E34D74B_ae) || (auto7E34D74B_ai < 0 && lv_i >= auto7E34D74B_ae) ) ; lv_i += auto7E34D74B_ai ) {
        UnitSetPosition(UnitGroupUnit(lv_infantryGroup, lv_i), PointWithOffsetPolar(PointFromId(58), 1.5, (IntToFixed(lv_i) * (360.0 / IntToFixed(UnitGroupCount(lv_infantryGroup, c_unitCountAlive))))), false);
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:5500

    lv_i = 1;
    for ( ; ( (auto7E34D74B_ai >= 0 && lv_i <= auto7E34D74B_ae) || (auto7E34D74B_ai < 0 && lv_i >= auto7E34D74B_ae) ) ; lv_i += auto7E34D74B_ai ) {
        UnitSetPosition(UnitGroupUnit(lv_infantryGroup, lv_i), PointWithOffsetPolar(PointFromId(58), 1.5, (IntToFixed(lv_i) * (360.0 / IntToFixed(UnitGroupCount(lv_infantryGroup, c_unitCountAlive))))), false);
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:2731

    }

    lv_eTA = (gv_kerriganSearchTime * IntToFixed(gf_CountTargetsOfCurrentStage()));
    lv_eTA = (lv_eTA - (gv_kerriganSearchTime - TimerGetRemaining(gv_kerriganSearchTimer)));
    if ((lv_eTA > 0.0)) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:236


    // Implementation
    lv_unitInterval = (360.0 / IntToFixed(lp_count));
    lv_currentDegree = (lp_angleOffset + (lp_intervalOffsets * lv_unitInterval));
    auto89D056BF_n = lp_count;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1132

        lv_i = 0;
        for ( ; ( (auto4CA18CCC_ai >= 0 && lv_i <= auto4CA18CCC_ae) || (auto4CA18CCC_ai < 0 && lv_i >= auto4CA18CCC_ae) ) ; lv_i += auto4CA18CCC_ai ) {
            PlayerCreateEffectPoint(1, "WallOfFireDummy", Point(PointGetX(UnitGetPosition(gv_wALLOFFIRE)), ((IntToFixed(lv_i) * 3.5) + PointGetY(PointFromId(122)))));
        }
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:2438

        autoDAD5E4FA_var = UnitGroupUnitFromEnd(autoDAD5E4FA_g, autoDAD5E4FA_u);
        if (autoDAD5E4FA_var == null) { break; }
        UnitSetCustomValue(autoDAD5E4FA_var, 0, IntToFixed(UnitGroupCount(UnitGroupAlliance(gv_pLAYER_02_ScriptedTOSS, c_unitAllianceEnemy, RegionCircle(UnitGetPosition(autoDAD5E4FA_var), 2.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterRawResource) | (1 << c_targetFilterMissile) | (1 << c_targetFilterDestructible), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32)) | (1 << (c_targetFilterBenign - 32))), 0), c_unitCountAlive)));
    }
    autoD1A466A2_g = gv_vortexTargetGroup;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:690

        lv_totalDeltaHeight = (lv_initialHeight - 1.0);
    }
    gv_bDPDeltaWait = (1.0 / IntToFixed(gv_bDPSpeed));
    gv_bDPDropType = lp_buildingDropPodType;
    gv_bDPLandingPoint = lp_landingPoint;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:694

    gv_bDPLandingPoint = lp_landingPoint;
    gv_bDPCurrentFlyingHeight = lv_initialHeight;
    gv_bDPDeltaFlyingHeight = (lv_totalDeltaHeight / IntToFixed(gv_bDPSpeed));
    UnitCreate(1, lp_buildingType, 0, gv_p08_RESCUABLE, gv_bDPLandingPoint, 225.0);
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLife, lp_buildingHP);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:3005

    if ((lv_buildingDropType == ge_BuildingDropPodType_Normal)) {
        SoundPlay(SoundLink("Ghost_DropPodImpact", -1), PlayerGroupAll(), 100.0, 0.0);
        UnitSetHeight(lv_droppedBuilding, 0.0, (IntToFixed(lv_speed) * lv_deltaWait));
        Wait((IntToFixed(lv_speed) * lv_deltaWait), c_timeGame);
        UnitIssueOrder(lv_droppedBuilding, OrderTargetingPoint(AbilityCommand("StarportLand", 0), lv_landingPoint), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:3006

        SoundPlay(SoundLink("Ghost_DropPodImpact", -1), PlayerGroupAll(), 100.0, 0.0);
        UnitSetHeight(lv_droppedBuilding, 0.0, (IntToFixed(lv_speed) * lv_deltaWait));
        Wait((IntToFixed(lv_speed) * lv_deltaWait), c_timeGame);
        UnitIssueOrder(lv_droppedBuilding, OrderTargetingPoint(AbilityCommand("StarportLand", 0), lv_landingPoint), c_orderQueueReplace);
        UnitIssueOrder(lv_droppedBuilding, OrderTargetingPoint(AbilityCommand("BarracksLand", 0), lv_landingPoint), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:6280

    TriggerExecute(gt_ObjectiveTroopSupplyCreateQ, true, false);
    ObjectiveSetName(gv_troopSupply, (StringExternal("Param/Value/35A51023") + FixedToText(gv_existingSupplyUpdate, 0) + StringExternal("Param/Value/931B73B1") + (IntToText(gv_obejctiveTroopsSupplyTotal)) + StringExternal("Param/Value/A31AC52F")));
    if ((gv_existingSupplyUpdate >= IntToFixed(gv_obejctiveTroopsSupplyTotal))) {
        TriggerEnable(TriggerGetCurrent(), false);
        TriggerEnable(gt_ObjectiveFoodSupply, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:5756

                }
                else {
                    UnitSetCustomValue(autoCDD652E0_var, 0, IntToFixed(RandomInt(4, 6)));
                }
            }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:762

        auto54F61631_var = UnitGroupUnitFromEnd(auto54F61631_g, auto54F61631_u);
        if (auto54F61631_var == null) { break; }
        UnitSetCustomValue(auto54F61631_var, 0, IntToFixed(lv_i));
        lv_i += 1;
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:653

    lv_i = 1;
    for ( ; ( (autoAD293901_ai >= 0 && lv_i <= autoAD293901_ae) || (autoAD293901_ai < 0 && lv_i >= autoAD293901_ae) ) ; lv_i += autoAD293901_ai ) {
        if ((CreepIsPresent(PointWithOffsetPolar(lp_point, 1.0, (IntToFixed(lv_i) * 90.0))) == false)) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:3508

    lv_i = 1;
    for ( ; ( (auto520D7E8D_ai >= 0 && lv_i <= auto520D7E8D_ae) || (auto520D7E8D_ai < 0 && lv_i >= auto520D7E8D_ae) ) ; lv_i += auto520D7E8D_ai ) {
        libNtve_gf_CreateUnitsAtPoint2(1, "HunterKillerBurrowed", 0, gv_pLAYER_ZERG_MAIN, PointWithOffsetPolar(UnitGetPosition(gv_kerrigan), 3.0, ((360.0 / IntToFixed(gv_kerriganEscortNumber)) * IntToFixed(lv_i))));
        UnitGroupAdd(lv_hunterKillers, UnitLastCreated());
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:3508

    lv_i = 1;
    for ( ; ( (auto520D7E8D_ai >= 0 && lv_i <= auto520D7E8D_ae) || (auto520D7E8D_ai < 0 && lv_i >= auto520D7E8D_ae) ) ; lv_i += auto520D7E8D_ai ) {
        libNtve_gf_CreateUnitsAtPoint2(1, "HunterKillerBurrowed", 0, gv_pLAYER_ZERG_MAIN, PointWithOffsetPolar(UnitGetPosition(gv_kerrigan), 3.0, ((360.0 / IntToFixed(gv_kerriganEscortNumber)) * IntToFixed(lv_i))));
        UnitGroupAdd(lv_hunterKillers, UnitLastCreated());
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:457

        for (autoEC97BD8F_i = 1; autoEC97BD8F_i <= autoEC97BD8F_n; autoEC97BD8F_i += 1) {
            UnitIssueOrder(UnitFromId(326), OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 1), PointWithOffsetPolar(RegionGetCenter(lp_mRegion), 2.0, lv_angle)), c_orderQueueReplace);
            lv_angle += (360.0 / IntToFixed(lv_count));
        }
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:5949

    auto59554051_var = 1;
    for ( ; auto59554051_var <= auto59554051_ae; auto59554051_var += 1 ) {
        lv_real = (18.0 - IntToFixed(auto59554051_var));
        lv_real = (lv_real * 0.14);
        lv_real = (lv_real + 5.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1807

    gv_hybridBusy = true;
    lv_targetCount = UnitGroupCount(gf_EnemiesWithinRange(gv_hybridPhysical, 8.0, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32)))), c_unitCountAlive);
    lv_desiredCasts = FixedToInt((IntToFixed(lv_targetCount) * libNtve_gf_DifficultyValueFixed(0.5, 0.5, 0.6, 0.75)));
    lv_desiredCasts = MinI(lv_desiredCasts, libNtve_gf_DifficultyValueInt(5, 5, 8, 9));
    auto793B532F_n = lv_desiredCasts;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1880

    gv_hybridBusy = true;
    lv_targetCount = UnitGroupCount(gf_EnemiesWithinRange(gv_hybridPhysical, 8.0, UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32)))), c_unitCountAlive);
    lv_desiredCasts = FixedToInt((IntToFixed(lv_targetCount) * 0.8));
    lv_desiredCasts = MinI(lv_desiredCasts, 4);
    auto8910C1F6_n = lv_desiredCasts;

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

    lv_wAITTime = 50;
    AIAttackWaveSetGatherPoint(gv_p04_ZERG_NW, PointFromId(131));
    Wait((255.0 - IntToFixed(lv_wAITTime)), c_timeAI);
    libNtve_gf_CreateUnitsWithDefaultFacing(libNtve_gf_DifficultyValueInt(44, 44, 50, 60), "Zergling", 0, lv_thisAIPlayer, lv_thisAISpawn);
    AIAttackWaveUseGroup(lv_thisAIPlayer, UnitLastCreatedGroup());

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

    AIAttackWaveSend(lv_thisAIPlayer, lv_wAITTime, true);
    gv_statWavessent += 1;
    Wait((470.0 - IntToFixed(lv_wAITTime)), c_timeAI);
    libNtve_gf_CreateUnitsWithDefaultFacing(libNtve_gf_DifficultyValueInt(25, 25, 30, 40), "Zergling", 0, lv_thisAIPlayer, lv_thisAISpawn);
    AIAttackWaveUseGroup(lv_thisAIPlayer, UnitLastCreatedGroup());

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

    AIAttackWaveSend(lv_thisAIPlayer, lv_wAITTime, true);
    gv_statWavessent += 1;
    Wait((340.0 - IntToFixed(lv_wAITTime)), c_timeAI);
    libNtve_gf_CreateUnitsWithDefaultFacing(libNtve_gf_DifficultyValueInt(18, 18, 28, 40), "Zergling", 0, lv_thisAIPlayer, lv_thisAISpawn);
    AIAttackWaveUseGroup(lv_thisAIPlayer, UnitLastCreatedGroup());

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

    AIAttackWaveSend(lv_thisAIPlayer, lv_wAITTime, true);
    gv_statWavessent += 1;
    Wait((350.0 - IntToFixed(lv_wAITTime)), c_timeAI);
    libNtve_gf_CreateUnitsWithDefaultFacing(libNtve_gf_DifficultyValueInt(15, 15, 25, 45), "Zergling", 0, lv_thisAIPlayer, lv_thisAISpawn);
    AIAttackWaveUseGroup(lv_thisAIPlayer, UnitLastCreatedGroup());

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

    AIAttackWaveSend(lv_thisAIPlayer, lv_wAITTime, true);
    gv_statWavessent += 1;
    Wait((240.0 - IntToFixed(lv_wAITTime)), c_timeAI);
    libNtve_gf_CreateUnitsWithDefaultFacing(libNtve_gf_DifficultyValueInt(18, 18, 30, 46), "Zergling", 0, lv_thisAIPlayer, lv_thisAISpawn);
    AIAttackWaveUseGroup(lv_thisAIPlayer, UnitLastCreatedGroup());

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

    lv_wAITTime = 50;
    AIAttackWaveSetGatherPoint(gv_p05_ZERG_NE, PointFromId(154));
    Wait((180.0 - IntToFixed(lv_wAITTime)), c_timeAI);
    libNtve_gf_CreateUnitsWithDefaultFacing(libNtve_gf_DifficultyValueInt(36, 36, 41, 50), "Zergling", 0, lv_thisAIPlayer, lv_thisAISpawn);
    AIAttackWaveUseGroup(lv_thisAIPlayer, UnitLastCreatedGroup());

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

    AIAttackWaveSend(lv_thisAIPlayer, lv_wAITTime, true);
    gv_statWavessent += 1;
    Wait((225.0 - IntToFixed(lv_wAITTime)), c_timeAI);
    libNtve_gf_CreateUnitsWithDefaultFacing(libNtve_gf_DifficultyValueInt(4, 4, 5, 3), "HybridReaver", 0, lv_thisAIPlayer, lv_thisAISpawn);
    AIAttackWaveUseGroup(lv_thisAIPlayer, UnitLastCreatedGroup());

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

    AIAttackWaveSend(lv_thisAIPlayer, lv_wAITTime, true);
    gv_statWavessent += 1;
    Wait((390.0 - IntToFixed(lv_wAITTime)), c_timeAI);
    libNtve_gf_CreateUnitsWithDefaultFacing(libNtve_gf_DifficultyValueInt(24, 24, 35, 52), "Zergling", 0, lv_thisAIPlayer, lv_thisAISpawn);
    AIAttackWaveUseGroup(lv_thisAIPlayer, UnitLastCreatedGroup());

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

    AIAttackWaveSend(lv_thisAIPlayer, lv_wAITTime, true);
    gv_statWavessent += 1;
    Wait((300.0 - IntToFixed(lv_wAITTime)), c_timeAI);
    libNtve_gf_CreateUnitsWithDefaultFacing(libNtve_gf_DifficultyValueInt(3, 3, 4, 4), "BroodLord", 0, lv_thisAIPlayer, lv_thisAISpawn);
    AIAttackWaveUseGroup(lv_thisAIPlayer, UnitLastCreatedGroup());

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

    AIAttackWaveSend(lv_thisAIPlayer, lv_wAITTime, false);
    gv_statWavessent += 1;
    Wait((460.0 - IntToFixed(lv_wAITTime)), c_timeAI);
    libNtve_gf_CreateUnitsWithDefaultFacing(libNtve_gf_DifficultyValueInt(21, 21, 37, 58), "Zergling", 0, lv_thisAIPlayer, lv_thisAISpawn);
    AIAttackWaveUseGroup(lv_thisAIPlayer, UnitLastCreatedGroup());

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:663

    for ( ; ( (auto9DCA9D7B_ai >= 0 && lv_index <= auto9DCA9D7B_ae) || (auto9DCA9D7B_ai <= 0 && lv_index >= auto9DCA9D7B_ae) ) ; lv_index += auto9DCA9D7B_ai ) {
        Wait(0.0125, c_timeGame);
        UnitSetPosition(gv_viking, PointWithOffsetPolar(lv_pos, (0.8 * IntToFixed(lv_index)), 90.0), true);
    }
    gf_FadeInOutWithPicture(false, 1.5, true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:1279

    lv_index = -4;
    for ( ; ( (autoE9518B94_ai >= 0 && lv_index <= autoE9518B94_ae) || (autoE9518B94_ai <= 0 && lv_index >= autoE9518B94_ae) ) ; lv_index += autoE9518B94_ai ) {
        lv_x = (lp_centerX + (IntToFixed(lv_index) + 0.0));
        if ((RandomInt(1, 10) <= lp_bullet)) {
            lv_shoot = 1;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:1292

    lv_index = -7;
    for ( ; ( (auto4F293FB9_ai >= 0 && lv_index <= auto4F293FB9_ae) || (auto4F293FB9_ai <= 0 && lv_index >= auto4F293FB9_ae) ) ; lv_index += auto4F293FB9_ai ) {
        lv_x = (lp_centerX + (IntToFixed(lv_index) + 0.0));
        if ((RandomInt(1, 10) <= lp_bullet)) {
            lv_shoot = 1;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:3372


    // Implementation
    lv_modifiedPoints = FixedToInt((IntToFixed(lp_points) * (1.0 + (IntToFixed(gv_repeatTimes) * gv_c_ScoreBonus))));
    return lv_modifiedPoints;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:3372


    // Implementation
    lv_modifiedPoints = FixedToInt((IntToFixed(lp_points) * (1.0 + (IntToFixed(gv_repeatTimes) * gv_c_ScoreBonus))));
    return lv_modifiedPoints;
}