# Unit Property

Grammaru prop (current|Current/Default)
FlagsNative | Function

Returns a unit property.

# Arguments

Returns — fixed

native fixed UnitGetPropertyFixed(
	unit inUnit,
	int inProp,
	bool inCurrent,
);

Category: Unit / Properties

# Examples

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

    Wait(0.25, c_timeGame);
    CameraShakeStop(gv_p1_USER);
    UnitSetPropertyFixed(gv_boss, c_unitPropMovementSpeed, UnitGetPropertyFixed(gv_boss, c_unitPropMovementSpeed, c_unitPropNormal));
    Wait(1.5, c_timeGame);
    UnitIssueOrder(gv_boss, OrderTargetingPoint(AbilityCommand("move", 0), lv_oldLoc), c_orderQueueReplace);

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

    gf_SpawnMob(1, lv_waveInfo.lv_unitType, lv_posSpawn, 270.0);
    lv_plane = UnitLastCreated();
    lv_oldSpeed = UnitGetPropertyFixed(lv_plane, c_unitPropMovementSpeed, c_unitPropNormal);
    gf_PrepareUnitForShooterGame(lv_plane);
    UnitSetPropertyFixed(lv_plane, c_unitPropMovementSpeed, 3.5);

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

    }

    lv_height = UnitGetPropertyFixed(EventUnit(), c_unitPropHeight, c_unitPropCurrent);
    lv_center = UnitGetPosition(EventUnit());
    lv_region = RegionCircle(lv_center, 3.0);

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


    lv_widthOld = DialogControlGetWidth(gv_bossHPBar, gv_p1_USER);
    lv_widthNew = FixedToInt((IntToFixed(gv_bossHPBarInnerWidth) * ((UnitGetPropertyFixed(gv_boss, c_unitPropLife, c_unitPropCurrent) + UnitGetPropertyFixed(gv_boss, c_unitPropShields, c_unitPropCurrent)) / (UnitGetPropertyFixed(gv_boss, c_unitPropLifeMax, c_unitPropCurrent) + UnitGetPropertyFixed(gv_boss, c_unitPropShieldsMax, c_unitPropCurrent)))));
    DialogControlSetSize(gv_bossHPBar, PlayerGroupAll(), lv_widthNew, DialogControlGetHeight(gv_bossHPBar, gv_p1_USER));
    return true;

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


    lv_widthOld = DialogControlGetWidth(gv_bossHPBar, gv_p1_USER);
    lv_widthNew = FixedToInt((IntToFixed(gv_bossHPBarInnerWidth) * ((UnitGetPropertyFixed(gv_boss, c_unitPropLife, c_unitPropCurrent) + UnitGetPropertyFixed(gv_boss, c_unitPropShields, c_unitPropCurrent)) / (UnitGetPropertyFixed(gv_boss, c_unitPropLifeMax, c_unitPropCurrent) + UnitGetPropertyFixed(gv_boss, c_unitPropShieldsMax, c_unitPropCurrent)))));
    DialogControlSetSize(gv_bossHPBar, PlayerGroupAll(), lv_widthNew, DialogControlGetHeight(gv_bossHPBar, gv_p1_USER));
    return true;

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


    lv_widthOld = DialogControlGetWidth(gv_bossHPBar, gv_p1_USER);
    lv_widthNew = FixedToInt((IntToFixed(gv_bossHPBarInnerWidth) * ((UnitGetPropertyFixed(gv_boss, c_unitPropLife, c_unitPropCurrent) + UnitGetPropertyFixed(gv_boss, c_unitPropShields, c_unitPropCurrent)) / (UnitGetPropertyFixed(gv_boss, c_unitPropLifeMax, c_unitPropCurrent) + UnitGetPropertyFixed(gv_boss, c_unitPropShieldsMax, c_unitPropCurrent)))));
    DialogControlSetSize(gv_bossHPBar, PlayerGroupAll(), lv_widthNew, DialogControlGetHeight(gv_bossHPBar, gv_p1_USER));
    return true;

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


    lv_widthOld = DialogControlGetWidth(gv_bossHPBar, gv_p1_USER);
    lv_widthNew = FixedToInt((IntToFixed(gv_bossHPBarInnerWidth) * ((UnitGetPropertyFixed(gv_boss, c_unitPropLife, c_unitPropCurrent) + UnitGetPropertyFixed(gv_boss, c_unitPropShields, c_unitPropCurrent)) / (UnitGetPropertyFixed(gv_boss, c_unitPropLifeMax, c_unitPropCurrent) + UnitGetPropertyFixed(gv_boss, c_unitPropShieldsMax, c_unitPropCurrent)))));
    DialogControlSetSize(gv_bossHPBar, PlayerGroupAll(), lv_widthNew, DialogControlGetHeight(gv_bossHPBar, gv_p1_USER));
    return true;

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

    }
    lv_widthOld = DialogControlGetWidth(gv_unitHPBarDialogBar, gv_p1_USER);
    lv_widthNew = FixedToInt((IntToFixed(gv_unitHPBarInnerWidth) * ((UnitGetPropertyFixed(gv_unitHPBarUnit, c_unitPropLife, c_unitPropCurrent) + UnitGetPropertyFixed(gv_unitHPBarUnit, c_unitPropShields, c_unitPropCurrent)) / (UnitGetPropertyFixed(gv_unitHPBarUnit, c_unitPropLifeMax, c_unitPropCurrent) + UnitGetPropertyFixed(gv_unitHPBarUnit, c_unitPropShieldsMax, c_unitPropCurrent)))));
    DialogControlSetSize(gv_unitHPBarDialogBar, PlayerGroupAll(), lv_widthNew, DialogControlGetHeight(gv_unitHPBarDialogBar, gv_p1_USER));
    TimerStart(gv_unitHPBarFadeTimer, 5.0, false, c_timeGame);

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

    }
    lv_widthOld = DialogControlGetWidth(gv_unitHPBarDialogBar, gv_p1_USER);
    lv_widthNew = FixedToInt((IntToFixed(gv_unitHPBarInnerWidth) * ((UnitGetPropertyFixed(gv_unitHPBarUnit, c_unitPropLife, c_unitPropCurrent) + UnitGetPropertyFixed(gv_unitHPBarUnit, c_unitPropShields, c_unitPropCurrent)) / (UnitGetPropertyFixed(gv_unitHPBarUnit, c_unitPropLifeMax, c_unitPropCurrent) + UnitGetPropertyFixed(gv_unitHPBarUnit, c_unitPropShieldsMax, c_unitPropCurrent)))));
    DialogControlSetSize(gv_unitHPBarDialogBar, PlayerGroupAll(), lv_widthNew, DialogControlGetHeight(gv_unitHPBarDialogBar, gv_p1_USER));
    TimerStart(gv_unitHPBarFadeTimer, 5.0, false, c_timeGame);

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

    }
    lv_widthOld = DialogControlGetWidth(gv_unitHPBarDialogBar, gv_p1_USER);
    lv_widthNew = FixedToInt((IntToFixed(gv_unitHPBarInnerWidth) * ((UnitGetPropertyFixed(gv_unitHPBarUnit, c_unitPropLife, c_unitPropCurrent) + UnitGetPropertyFixed(gv_unitHPBarUnit, c_unitPropShields, c_unitPropCurrent)) / (UnitGetPropertyFixed(gv_unitHPBarUnit, c_unitPropLifeMax, c_unitPropCurrent) + UnitGetPropertyFixed(gv_unitHPBarUnit, c_unitPropShieldsMax, c_unitPropCurrent)))));
    DialogControlSetSize(gv_unitHPBarDialogBar, PlayerGroupAll(), lv_widthNew, DialogControlGetHeight(gv_unitHPBarDialogBar, gv_p1_USER));
    TimerStart(gv_unitHPBarFadeTimer, 5.0, false, c_timeGame);

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

        auto2970755C_var = UnitGroupUnitFromEnd(auto2970755C_g, auto2970755C_u);
        if (auto2970755C_var == null) { break; }
        UnitSetPropertyFixed(auto2970755C_var, c_unitPropMovementSpeed, UnitGetPropertyFixed(gv_briefingTransport1, c_unitPropMovementSpeed, c_unitPropCurrent));
        UnitIssueOrder(auto2970755C_var, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(2611)), c_orderQueueReplace);
        UnitIssueOrder(auto2970755C_var, OrderTargetingUnit(null, UnitFromId(698)), c_orderQueueAddToEnd);

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

        if (autoA4BFEB74_var == null) { break; }
        UnitIssueOrder(autoA4BFEB74_var, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(58)), c_orderQueueReplace);
        UnitSetPropertyFixed(autoA4BFEB74_var, c_unitPropMovementSpeed, UnitGetPropertyFixed(autoA4BFEB74_var, c_unitPropMovementSpeed, c_unitPropNormal));
    }
    Wait(((1.0 * SoundLengthSync(SoundLink("THanson01BriefingHanson00005", 0))) - 4.7), c_timeReal);

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

    lv_msg = (lv_msg + UnitTypeGetName(UnitGetType(lp_u)));
    lv_msg = (lv_msg + StringExternal("Param/Value/55F22AB1"));
    lv_msg = (lv_msg + FixedToText(UnitGetPropertyFixed(lp_u, c_unitPropShields, c_unitPropCurrent), 0));
    lv_msg = (lv_msg + StringExternal("Param/Value/D89A36FB"));
    lv_msg = (lv_msg + FixedToText(UnitGetPropertyFixed(lp_u, c_unitPropLife, c_unitPropCurrent), 0));

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

    lv_msg = (lv_msg + FixedToText(UnitGetPropertyFixed(lp_u, c_unitPropShields, c_unitPropCurrent), 0));
    lv_msg = (lv_msg + StringExternal("Param/Value/D89A36FB"));
    lv_msg = (lv_msg + FixedToText(UnitGetPropertyFixed(lp_u, c_unitPropLife, c_unitPropCurrent), 0));
    lv_msg = (lv_msg + StringExternal("Param/Value/F8243572"));
    lv_msg = (lv_msg + FixedToText(UnitGetPropertyFixed(lp_u, c_unitPropEnergy, c_unitPropCurrent), 0));

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

    lv_msg = (lv_msg + FixedToText(UnitGetPropertyFixed(lp_u, c_unitPropLife, c_unitPropCurrent), 0));
    lv_msg = (lv_msg + StringExternal("Param/Value/F8243572"));
    lv_msg = (lv_msg + FixedToText(UnitGetPropertyFixed(lp_u, c_unitPropEnergy, c_unitPropCurrent), 0));
    lv_msg = (lv_msg + StringExternal("Param/Value/BA132E60"));
    lv_msg = (lv_msg + StringExternal("Param/Value/F3633763"));

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

            lv_i += 1;
            gv_infestableStructure[lv_i] = auto6A6C64E5_var;
            gv_infestableStructureHealth[lv_i] = UnitGetPropertyFixed(auto6A6C64E5_var, c_unitPropLife, c_unitPropCurrent);
        }

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

        lv_index = 1;
        for ( ; ( (auto22DC2D8F_ai >= 0 && lv_index <= auto22DC2D8F_ae) || (auto22DC2D8F_ai < 0 && lv_index >= auto22DC2D8F_ae) ) ; lv_index += auto22DC2D8F_ai ) {
            gv_infestableStructureHealth[lv_index] = UnitGetPropertyFixed(gv_infestableStructure[lv_index], c_unitPropLife, c_unitPropCurrent);
        }
        if ((gv_night == 1)) {

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

        }
        else {
            if ((gv_timeOfDay == ge_PRESET_TimeOfDay_Night) && (UnitIsAlive(gv_infestableStructure[lv_index]) == true) && (UnitGetPropertyFixed(gv_infestableStructure[lv_index], c_unitPropLife, c_unitPropCurrent) < gv_infestableStructureHealth[lv_index])) {
                gf_NightDefenderSpawn(gv_infestableStructure[lv_index]);
                if ((gv_nightReactionThrottle == false)) {

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


        }
        gv_infestableStructureHealth[lv_index] = UnitGetPropertyFixed(gv_infestableStructure[lv_index], c_unitPropLife, c_unitPropCurrent);
    }
    return true;

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

    }

    libNtve_gf_DisplayBossBar(1, "Assets\\Textures\\btn-unit-protoss-mothership.dds", StringExternal("Param/Value/8B755AF6"), FixedToInt(UnitGetPropertyFixed(gv_purifier, c_unitPropLifeMax, c_unitPropCurrent)), PlayerGroupAll());
    gv_purifierBossBar = 1;
    libNtve_gf_SetBossBarRace(gv_purifierBossBar, libNtve_ge_BossBarRace_Protoss, true);

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

    gv_purifierBossBar = 1;
    libNtve_gf_SetBossBarRace(gv_purifierBossBar, libNtve_ge_BossBarRace_Protoss, true);
    libNtve_gf_SetBossBarMaximumValue(gv_purifierBossBar, FixedToInt(UnitGetPropertyFixed(gv_purifier, c_unitPropLifeMax, c_unitPropCurrent)), true);
    libNtve_gf_SetBossBarCurrentValue(gv_purifierBossBar, FixedToInt(UnitGetPropertyFixed(gv_purifier, c_unitPropLife, c_unitPropCurrent)), true);
    libNtve_gf_MoveBossBar(gv_purifierBossBar, c_anchorTop, 0, 50);

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

    libNtve_gf_SetBossBarRace(gv_purifierBossBar, libNtve_ge_BossBarRace_Protoss, true);
    libNtve_gf_SetBossBarMaximumValue(gv_purifierBossBar, FixedToInt(UnitGetPropertyFixed(gv_purifier, c_unitPropLifeMax, c_unitPropCurrent)), true);
    libNtve_gf_SetBossBarCurrentValue(gv_purifierBossBar, FixedToInt(UnitGetPropertyFixed(gv_purifier, c_unitPropLife, c_unitPropCurrent)), true);
    libNtve_gf_MoveBossBar(gv_purifierBossBar, c_anchorTop, 0, 50);
    libNtve_gf_ShowHideBossBar(false, gv_purifierBossBar);

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

    }

    libNtve_gf_SetBossBarCurrentValue(gv_purifierBossBar, FixedToInt(UnitGetPropertyFixed(gv_purifier, c_unitPropLife, c_unitPropCurrent)), true);
    return true;
}

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

        auto582274C1_var = UnitGroupUnitFromEnd(auto582274C1_g, auto582274C1_u);
        if (auto582274C1_var == null) { break; }
        UnitSetPropertyFixed(auto582274C1_var, c_unitPropEnergy, UnitGetPropertyFixed(auto582274C1_var, c_unitPropEnergyMax, c_unitPropNormal));
    }
    auto847F12A2_g = UnitGroup("Diamondback", gv_pLAYER_05_ABANDONEDVEHICLES, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        }

        if ((UnitGetPropertyFixed(lv_trainCarToAnimate_LOCAL, c_unitPropLifePercent, c_unitPropCurrent) <= lv_trainCarToAnimateBreakPoint_LOCAL)) {
            break;
        }

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

        }

        if (!((UnitGetPropertyFixed(UnitFromId(90), c_unitPropLife, c_unitPropCurrent) <= 200.0))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:91

    gv_barrageIncrement = 1;
    gv_yamatoTransmission = c_invalidTransmissionId;
    gv_odinLowestHealth = UnitGetPropertyFixed(UnitFromId(2), c_unitPropLifeMax, c_unitPropNormal);
    gv_objectiveStealTheOdin = c_invalidObjectiveId;
    gv_objectiveTychusMustSurvive = c_invalidObjectiveId;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1218

    }

    UnitSetCustomValue(UnitFromId(2), 1, UnitGetPropertyFixed(UnitFromId(2), c_unitPropLifeMax, c_unitPropNormal));
    UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeResourcePanel, true);
    UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeSupply, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1270

    libNtve_gf_SetBossBarRace(gv_odinBossBar, libNtve_ge_BossBarRace_Terran, true);
    libNtve_gf_SetBossBarMaximumValue(gv_odinBossBar, FixedToInt(gv_odinCurrentHealth), true);
    libNtve_gf_SetBossBarCurrentValue(gv_odinBossBar, FixedToInt(UnitGetPropertyFixed(gv_odin, c_unitPropLife, c_unitPropCurrent)), true);
    libNtve_gf_SetBossBarBoss(gv_odinBossBar, UnitFromId(2), true);
    libNtve_gf_MoveBossBar(gv_odinBossBar, c_anchorTop, 0, 50);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1304

    }

    if ((UnitGetPropertyFixed(gv_odin, c_unitPropLifePercent, c_unitPropCurrent) <= 30.0)) {
        PingSetColor(gv_odinPing, Color(100.00, 0.00, 0.00));
        TriggerExecute(gt_OdinHealthLowSoundFX, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:4060

    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
    libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());
    if ((UnitGetPropertyFixed(UnitFromId(2), c_unitPropLifePercent, c_unitPropCurrent) == 100.0)) {
        // Transmission - SoundLink("THorner03Tychus00006", -1)
        libCamp_gf_SendTransmissionCampaign(UnitFromId(2), SoundLink("THorner03Tychus00006", 0), c_transmissionDurationAdd, 0.0, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:4365

    }

    if ((UnitGetPropertyFixed(EventUnit(), c_unitPropLifePercent, c_unitPropCurrent) <= 30.0)) {
        gv_achievementOdinHealthBelow30Percent = true;
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:4408

    }

    if ((UnitGetPropertyFixed(EventUnit(), c_unitPropLife, c_unitPropCurrent) > UnitGetCustomValue(EventUnit(), 1))) {
        gv_sCVHealingPerformedOnOdin += (UnitGetPropertyFixed(EventUnit(), c_unitPropLife, c_unitPropCurrent) - UnitGetCustomValue(EventUnit(), 1));
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:4409


    if ((UnitGetPropertyFixed(EventUnit(), c_unitPropLife, c_unitPropCurrent) > UnitGetCustomValue(EventUnit(), 1))) {
        gv_sCVHealingPerformedOnOdin += (UnitGetPropertyFixed(EventUnit(), c_unitPropLife, c_unitPropCurrent) - UnitGetCustomValue(EventUnit(), 1));
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:4412

    }

    UnitSetCustomValue(EventUnit(), 1, UnitGetPropertyFixed(EventUnit(), c_unitPropLife, c_unitPropCurrent));
    return true;
}

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

    TriggerEnable(TriggerGetCurrent(), false);
    lv_statue = UnitFromId(1078);
    lv_statueMaxLife = UnitGetPropertyFixed(lv_statue, c_unitPropLife, c_unitPropCurrent);
    gv_statueCount = (gv_statueCount + 1);
    libNtve_gf_AttachModelToUnit(gv_statueBullhorns[1], "TalkIcon", "Ref_Overhead");

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:4077

        }

        if (!((UnitGetPropertyFixed(gv_raynor, c_unitPropKills, c_unitPropCurrent) >= 5.0))) {
            return false;
        }

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

            autoDB06C22C_var = UnitGroupUnitFromEnd(autoDB06C22C_g, autoDB06C22C_u);
            if (autoDB06C22C_var == null) { break; }
            if ((UnitGetPropertyFixed(autoDB06C22C_var, c_unitPropEnergyPercent, c_unitPropCurrent) < 98.0)) {
                UnitSetPropertyFixed(autoDB06C22C_var, c_unitPropEnergy, (UnitGetPropertyFixed(autoDB06C22C_var, c_unitPropEnergy, c_unitPropCurrent) + 1.0));
            }

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

            if (autoDB06C22C_var == null) { break; }
            if ((UnitGetPropertyFixed(autoDB06C22C_var, c_unitPropEnergyPercent, c_unitPropCurrent) < 98.0)) {
                UnitSetPropertyFixed(autoDB06C22C_var, c_unitPropEnergy, (UnitGetPropertyFixed(autoDB06C22C_var, c_unitPropEnergy, c_unitPropCurrent) + 1.0));
            }

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

            auto486BEE07_var = UnitGroupUnitFromEnd(auto486BEE07_g, auto486BEE07_u);
            if (auto486BEE07_var == null) { break; }
            if (((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(auto486BEE07_var), 6.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGetPropertyFixed(auto486BEE07_var, c_unitPropLife, c_unitPropCurrent) < UnitGetPropertyFixed(auto486BEE07_var, c_unitPropLifeMax, c_unitPropCurrent)))) {
                lv_flee = true;
            }

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

            auto486BEE07_var = UnitGroupUnitFromEnd(auto486BEE07_g, auto486BEE07_u);
            if (auto486BEE07_var == null) { break; }
            if (((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(auto486BEE07_var), 6.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGetPropertyFixed(auto486BEE07_var, c_unitPropLife, c_unitPropCurrent) < UnitGetPropertyFixed(auto486BEE07_var, c_unitPropLifeMax, c_unitPropCurrent)))) {
                lv_flee = true;
            }

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

        }

        if (((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lv_miner), 6.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGetPropertyFixed(lv_miner, c_unitPropLife, c_unitPropCurrent) < UnitGetPropertyFixed(lv_miner, c_unitPropLifeMax, c_unitPropCurrent)))) {
            break;
        }

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

        }

        if (((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lv_miner), 6.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGetPropertyFixed(lv_miner, c_unitPropLife, c_unitPropCurrent) < UnitGetPropertyFixed(lv_miner, c_unitPropLifeMax, c_unitPropCurrent)))) {
            break;
        }

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

        }

        if (((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lv_miner), 6.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGetPropertyFixed(lv_miner, c_unitPropLife, c_unitPropCurrent) < UnitGetPropertyFixed(lv_miner, c_unitPropLifeMax, c_unitPropCurrent)))) {
            break;
        }

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

        }

        if (((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lv_miner), 6.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGetPropertyFixed(lv_miner, c_unitPropLife, c_unitPropCurrent) < UnitGetPropertyFixed(lv_miner, c_unitPropLifeMax, c_unitPropCurrent)))) {
            break;
        }

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

        }

        if (((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lv_miner), 6.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGetPropertyFixed(lv_miner, c_unitPropLife, c_unitPropCurrent) < UnitGetPropertyFixed(lv_miner, c_unitPropLifeMax, c_unitPropCurrent)))) {
            break;
        }

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

        }

        if (((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lv_miner), 6.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGetPropertyFixed(lv_miner, c_unitPropLife, c_unitPropCurrent) < UnitGetPropertyFixed(lv_miner, c_unitPropLifeMax, c_unitPropCurrent)))) {
            break;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:4140

            auto78D96694_var = UnitGroupUnitFromEnd(auto78D96694_g, auto78D96694_u);
            if (auto78D96694_var == null) { break; }
            if ((UnitIsAlive(auto78D96694_var) == true) && (libNtve_gf_UnitIsUnderConstruction(auto78D96694_var) == false) && (UnitGetPropertyFixed(auto78D96694_var, c_unitPropLifePercent, c_unitPropCurrent) < 100.0)) {
                lv_damagedBunker = auto78D96694_var;
                lv_damagedPoint = PointWithOffset(UnitGetPosition(lv_damagedBunker), 0.0, -4.0);

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


    gf_Briefing(libCamp_ge_MapID_MapTHanson02, ge_RoomID_RoomBridge, gt_BriefingTHanson02Skippable, gt_BriefingTHanson02Preload);
    UnitSetPropertyFixed(gf_ActorUnit(ge_ActorID_ActorRaynor), c_unitPropMovementSpeed, (UnitGetPropertyFixed(gf_ActorUnit(ge_ActorID_ActorRaynor), c_unitPropMovementSpeed, c_unitPropNormal) / 1.0));
    return true;
}

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


    gf_Briefing(libCamp_ge_MapID_MapTHorner02, ge_RoomID_RoomBridge, gt_BriefingTHorner02Skippable, gt_BriefingTHorner02Preload);
    UnitSetPropertyFixed(gf_ActorUnit(ge_ActorID_ActorRaynor), c_unitPropMovementSpeed, (UnitGetPropertyFixed(gf_ActorUnit(ge_ActorID_ActorRaynor), c_unitPropMovementSpeed, c_unitPropNormal) / 1.0));
    TextTagDestroy(gv_briefingTHorner02Text);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:1502

        lv_zergGroup[lv_zergNumber].lv_ambusher = auto3D8B0D95_var;
        lv_zergGroup[lv_zergNumber].lv_position = UnitGetPosition(auto3D8B0D95_var);
        lv_zergGroup[lv_zergNumber].lv_burrowedHealth = UnitGetPropertyFixed(auto3D8B0D95_var, c_unitPropLife, c_unitPropCurrent);
        if ((UnitGetType(auto3D8B0D95_var) == "ZerglingBurrowed")) {
            UnitIssueOrder(auto3D8B0D95_var, Order(AbilityCommand("BurrowZerglingUp", 0)), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:1533

        for ( ; ( (auto70D33007_ai >= 0 && lv_i <= auto70D33007_ae) || (auto70D33007_ai < 0 && lv_i >= auto70D33007_ae) ) ; lv_i += auto70D33007_ai ) {
            if (((UnitGetType(lv_zergGroup[lv_i].lv_ambusher) == "ZerglingBurrowed") || (UnitGetType(lv_zergGroup[lv_i].lv_ambusher) == "HydraliskBurrowed"))) {
                if (((UnitGroupCount(UnitGroup(null, gv_p01_USER, RegionCircle(UnitGetPosition(lv_zergGroup[lv_i].lv_ambusher), 4.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || ((lv_zergGroup[lv_i].lv_burrowedHealth > UnitGetPropertyFixed(lv_zergGroup[lv_i].lv_ambusher, c_unitPropLife, c_unitPropCurrent)) && (UnitGroupCount(UnitGroup(null, gv_p01_USER, RegionCircle(UnitGetPosition(lv_zergGroup[lv_i].lv_ambusher), 16.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0)))) {
                    autoF9D38813_ae = lv_zergNumber;
                    lv_n = 1;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:1557

                        UnitIssueOrder(lv_zergGroup[lv_i].lv_ambusher, OrderTargetingPoint(AbilityCommand("move", 0), lv_zergGroup[lv_i].lv_position), c_orderQueueReplace);
                        UnitIssueOrder(lv_zergGroup[lv_i].lv_ambusher, Order(AbilityCommand("BurrowZerglingDown", 0)), c_orderQueueAddToEnd);
                        lv_zergGroup[lv_i].lv_burrowedHealth = UnitGetPropertyFixed(lv_zergGroup[lv_i].lv_ambusher, c_unitPropLife, c_unitPropCurrent);
                    }
                }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:1567

                        UnitIssueOrder(lv_zergGroup[lv_i].lv_ambusher, OrderTargetingPoint(AbilityCommand("move", 0), lv_zergGroup[lv_i].lv_position), c_orderQueueReplace);
                        UnitIssueOrder(lv_zergGroup[lv_i].lv_ambusher, Order(AbilityCommand("BurrowHydraliskDown", 0)), c_orderQueueAddToEnd);
                        lv_zergGroup[lv_i].lv_burrowedHealth = UnitGetPropertyFixed(lv_zergGroup[lv_i].lv_ambusher, c_unitPropLife, c_unitPropCurrent);
                    }
                }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:2161

        lv_coCe = UnitLastCreated();
        UnitIssueOrder(lv_coCe, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(863)), c_orderQueueReplace);
        Wait(((DistanceBetweenPoints(PointFromId(862), PointFromId(863)) / UnitGetPropertyFixed(lv_coCe, c_unitPropMovementSpeed, c_unitPropCurrent)) + 0.0), c_timeGame);
        if ((UnitIsAlive(lv_coCe) == true)) {
            UIAlertUnit("Trigger", gv_p01_USER, StringExternal("Param/Value/19BDCD39"), null, lv_coCe);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:111

    gv_maraudersComeOnline = TimerCreate();
    gv_achievementHardTimer = TimerCreate();
    gv_toshLowestHealth = FixedToInt(UnitGetPropertyFixed(UnitFromId(326), c_unitPropLifeMax, c_unitPropNormal));
    gv_objectiveClearMainPrison = c_invalidObjectiveId;
    gv_objectiveToshMustSurvive = c_invalidObjectiveId;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:461


    // Implementation
    if ((((PlayerDifficulty(1) == 1 || PlayerDifficulty(1) == 2) == true) || (UnitGetPropertyFixed(gv_tosh, c_unitPropLife, c_unitPropCurrent) < libNtve_gf_DifficultyValueFixed(250.0, 250.0, 250.0, 200.0)))) {
        UnitGroupRemove(lp_candidates, gv_tosh);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:480

    // Automatic Variable Declarations
    // Implementation
    if ((UnitGetPropertyFixed(gv_tosh, c_unitPropLifePercent, c_unitPropCurrent) < 100.0) && (DistanceBetweenPoints(UnitGetPosition(gv_tosh), UnitGetPosition(lp_medic)) <= 6.0)) {
        libNtve_gf_AICast(lp_medic, OrderTargetingUnit(AbilityCommand("heal", 0), gv_tosh));
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:1509

            autoEB9076F6_var = UnitGroupUnitFromEnd(autoEB9076F6_g, autoEB9076F6_u);
            if (autoEB9076F6_var == null) { break; }
            if ((UnitGetPropertyFixed(autoEB9076F6_var, c_unitPropLifePercent, c_unitPropCurrent) < 99.0)) {
                lv_victimsVictimized = true;
                break;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:4488

    }

    lv_displayedLife = FixedToInt(UnitGetPropertyFixed(gv_tosh, c_unitPropLife, c_unitPropCurrent));
    if ((lv_displayedLife < 1) && (UnitGetPropertyFixed(gv_tosh, c_unitPropLife, c_unitPropCurrent) > 0.0)) {
        lv_displayedLife = 1;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:4489


    lv_displayedLife = FixedToInt(UnitGetPropertyFixed(gv_tosh, c_unitPropLife, c_unitPropCurrent));
    if ((lv_displayedLife < 1) && (UnitGetPropertyFixed(gv_tosh, c_unitPropLife, c_unitPropCurrent) > 0.0)) {
        lv_displayedLife = 1;
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:2095

            }
            else if (auto7D1E9C97_val == 2) {
                if ((UnitGetPropertyFixed(gv_nova, c_unitPropLife, c_unitPropCurrent) < 250.0)) {
                    UnitGroupRemove(lv_potentialvictims, gv_nova);
                }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:2104

                    auto18934A38_var = UnitGroupUnitFromEnd(auto18934A38_g, auto18934A38_u);
                    if (auto18934A38_var == null) { break; }
                    if ((auto18934A38_var != gv_nova) && (UnitGetPropertyFixed(auto18934A38_var, c_unitPropLifePercent, c_unitPropCurrent) <= 25.0)) {
                        UnitGroupRemove(lv_potentialvictims, auto18934A38_var);
                    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:3167

    }

    if ((UnitGetOwner(UnitFromId(684)) == gv_pLAYER02_TOSH) && (UnitGetPropertyFixed(UnitFromId(684), c_unitPropEnergy, c_unitPropCurrent) >= 25.0) && (UnitHasBehavior(UnitFromId(684), "BansheeCloak") != true)) {
        UnitIssueOrder(UnitFromId(684), Order(AbilityCommand("BansheeCloak", 0)), c_orderQueueReplace);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:3513

            }
            else if (auto85F7F106_val == 2) {
                if ((UnitGetPropertyFixed(gv_nova, c_unitPropLife, c_unitPropCurrent) < 250.0)) {
                    UnitGroupRemove(lv_potentialvictims, gv_nova);
                }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:3522

                    autoB164A4B2_var = UnitGroupUnitFromEnd(autoB164A4B2_g, autoB164A4B2_u);
                    if (autoB164A4B2_var == null) { break; }
                    if ((autoB164A4B2_var != gv_nova) && (UnitGetPropertyFixed(autoB164A4B2_var, c_unitPropLifePercent, c_unitPropCurrent) <= 25.0)) {
                        UnitGroupRemove(lv_potentialvictims, autoB164A4B2_var);
                    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:4097

            }
            else if (autoBE858D0C_val == 2) {
                if ((UnitGetPropertyFixed(gv_nova, c_unitPropLife, c_unitPropCurrent) < 250.0)) {
                    UnitGroupRemove(lv_potentialvictims, gv_nova);
                }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:4106

                    autoC46A0E1C_var = UnitGroupUnitFromEnd(autoC46A0E1C_g, autoC46A0E1C_u);
                    if (autoC46A0E1C_var == null) { break; }
                    if ((autoC46A0E1C_var != gv_nova) && (UnitGetPropertyFixed(autoC46A0E1C_var, c_unitPropLifePercent, c_unitPropCurrent) <= 25.0)) {
                        UnitGroupRemove(lv_potentialvictims, autoC46A0E1C_var);
                    }

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

        }

        if (((UnitGetPropertyFixed(UnitFromId(96), c_unitPropShieldsPercent, c_unitPropCurrent) < 100.0) || (UnitGetPropertyFixed(UnitFromId(109), c_unitPropShieldsPercent, c_unitPropCurrent) < 100.0) || (UnitGroupCount(UnitGroup(null, gv_p1_USER, RegionFromId(4), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
            UnitSetOwner(UnitFromId(109), gv_p6_FIRST_PROTOSS, true);
            AISetUnitScriptControlled(UnitFromId(109), false);

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

        }

        if (((UnitGetPropertyFixed(UnitFromId(96), c_unitPropShieldsPercent, c_unitPropCurrent) < 100.0) || (UnitGetPropertyFixed(UnitFromId(109), c_unitPropShieldsPercent, c_unitPropCurrent) < 100.0) || (UnitGroupCount(UnitGroup(null, gv_p1_USER, RegionFromId(4), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
            UnitSetOwner(UnitFromId(109), gv_p6_FIRST_PROTOSS, true);
            AISetUnitScriptControlled(UnitFromId(109), false);

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

        }

        if ((UnitIsAlive(lv_nullifierTop) == true) && (UnitGetPropertyFixed(lv_nullifierTop, c_unitPropEnergy, c_unitPropCurrent) >= 30.0) && (UnitGroupCount(UnitGroup(null, gv_p1_USER, RegionFromId(5), UnitFilter((1 << c_targetFilterGround), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitGroupCount(UnitGroup("ForceField", c_playerAny, RegionCircle(PointFromId(121), 1.5), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
            UnitIssueOrder(lv_nullifierTop, OrderTargetingPoint(AbilityCommand("ForceField", 0), PointFromId(121)), c_orderQueueReplace);
        }

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


        }
        if ((UnitIsAlive(lv_nullifierBottom) == true) && (UnitGetPropertyFixed(lv_nullifierBottom, c_unitPropEnergy, c_unitPropCurrent) >= 30.0) && (UnitGroupCount(UnitGroup(null, gv_p1_USER, RegionFromId(5), UnitFilter((1 << c_targetFilterGround), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitGroupCount(UnitGroup("ForceField", c_playerAny, RegionCircle(PointFromId(122), 1.5), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
            UnitIssueOrder(lv_nullifierBottom, OrderTargetingPoint(AbilityCommand("ForceField", 0), PointFromId(122)), c_orderQueueReplace);
        }

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


        }
        if ((UnitIsAlive(lv_highTemplar) == true) && (UnitGetPropertyFixed(lv_highTemplar, c_unitPropEnergy, c_unitPropCurrent) >= 75.0) && (lv_psiCooldown == 0) && (UnitGroupCount(UnitGroup(null, gv_p1_USER, RegionCircle(UnitGetPosition(lv_highTemplar), 7.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0)) {
            lv_broken = false;
            autoED2F391A_g = UnitGroup(null, gv_p1_USER, RegionCircle(UnitGetPosition(lv_highTemplar), 7.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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


        Wait(1.0, c_timeGame);
        if ((UnitIsAlive(lv_nullifier1) == true) && (UnitGetPropertyFixed(lv_nullifier1, c_unitPropEnergy, c_unitPropCurrent) >= 30.0) && (UnitGroupCount(UnitGroup(null, gv_p1_USER, RegionFromId(39), UnitFilter((1 << c_targetFilterGround), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitGroupCount(UnitGroup("ForceField", c_playerAny, RegionCircle(PointFromId(718), 1.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
            UnitIssueOrder(lv_nullifier1, OrderTargetingPoint(AbilityCommand("ForceField", 0), PointFromId(718)), c_orderQueueReplace);
        }

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


        }
        if ((UnitIsAlive(lv_nullifier2) == true) && (UnitGetPropertyFixed(lv_nullifier2, c_unitPropEnergy, c_unitPropCurrent) >= 30.0) && (UnitGroupCount(UnitGroup(null, gv_p1_USER, RegionFromId(39), UnitFilter((1 << c_targetFilterGround), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (UnitGroupCount(UnitGroup("ForceField", c_playerAny, RegionCircle(PointFromId(719), 1.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
            UnitIssueOrder(lv_nullifier2, OrderTargetingPoint(AbilityCommand("ForceField", 0), PointFromId(719)), c_orderQueueReplace);
        }

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

            }

            if ((UnitIsAlive(lv_highTemplars[lv_i]) == true) && (UnitGetPropertyFixed(lv_highTemplars[lv_i], c_unitPropEnergy, c_unitPropCurrent) >= 75.0) && (lv_psiCooldowns[lv_i] == 0) && (UnitGroupCount(UnitGroup(null, gv_p2_ZERG, RegionCircle(UnitGetPosition(lv_highTemplars[lv_i]), 7.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0)) {
                auto0770ACE4_g = UnitGroup(null, gv_p2_ZERG, RegionCircle(UnitGetPosition(lv_highTemplars[lv_i]), 7.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
                auto0770ACE4_u = UnitGroupCount(auto0770ACE4_g, c_unitCountAll);

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

    libNtve_gf_DisplayBossBar(1, "Assets\\Textures\\btn-tips-relicshrine.dds", StringExternal("Param/Value/7AE87D2E"), 100, PlayerGroupAll());
    gv_templeDoorBossBar = 1;
    libNtve_gf_SetBossBarMaximumValue(gv_templeDoorBossBar, FixedToInt(UnitGetPropertyFixed(gv_tHEONEDRILL, c_unitPropLife, c_unitPropNormal)), true);
    libNtve_gf_SetBossBarCurrentValue(gv_templeDoorBossBar, FixedToInt(UnitGetPropertyFixed(gv_tHEONEDOOR, c_unitPropLife, c_unitPropCurrent)), true);
    libNtve_gf_SetBossBarBoss(gv_templeDoorBossBar, UnitFromId(125), true);

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

    gv_templeDoorBossBar = 1;
    libNtve_gf_SetBossBarMaximumValue(gv_templeDoorBossBar, FixedToInt(UnitGetPropertyFixed(gv_tHEONEDRILL, c_unitPropLife, c_unitPropNormal)), true);
    libNtve_gf_SetBossBarCurrentValue(gv_templeDoorBossBar, FixedToInt(UnitGetPropertyFixed(gv_tHEONEDOOR, c_unitPropLife, c_unitPropCurrent)), true);
    libNtve_gf_SetBossBarBoss(gv_templeDoorBossBar, UnitFromId(125), true);
    libNtve_gf_MoveBossBar(gv_templeDoorBossBar, c_anchorTop, 0, 50);

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

    // Conditions
    if (testConds) {
        if (!((UnitGetPropertyFixed(gv_tHEONEDRILL, c_unitPropLifePercent, c_unitPropCurrent) <= 70.0))) {
            return false;
        }

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

    }

    if ((UnitGetPropertyFixed(gv_tHEONEDRILL, c_unitPropLifePercent, c_unitPropCurrent) <= 50.0)) {
        TriggerExecute(gt_DrillisrepairabletipQ, true, true);
    }

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

    }

    if ((UnitGetPropertyFixed(gv_tHEONEDOOR, c_unitPropLifePercent, c_unitPropCurrent) <= 70.0) && (TriggerIsEnabled(gt_TempleHPLow1Q) == true)) {
        TriggerExecute(gt_TempleHPLow1Q, true, false);
        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_tHEONEDOOR), c_animNameDefault, "Stand B", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);

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

    }

    if ((UnitGetPropertyFixed(gv_tHEONEDOOR, c_unitPropLifePercent, c_unitPropCurrent) <= 50.0) && (TriggerIsEnabled(gt_TempleHPLow2Q) == true)) {
        TriggerExecute(gt_TempleHPLow2Q, true, false);
        libCamp_gf_CreateMissionAutosavePoint(StringExternal("Param/Value/0E2BE404"));

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

    }

    if ((UnitGetPropertyFixed(gv_tHEONEDOOR, c_unitPropLifePercent, c_unitPropCurrent) <= 33.0) && (TriggerIsEnabled(gt_TempleHPLow3Q19m) == true)) {
        TriggerExecute(gt_TempleHPLow3Q19m, true, false);
        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_tHEONEDOOR), c_animNameDefault, "Stand C", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);

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

    }

    if ((UnitGetPropertyFixed(gv_tHEONEDOOR, c_unitPropLifePercent, c_unitPropCurrent) <= 3.0) && (TriggerIsEnabled(gt_TempleHPLow4Q) == true)) {
        TriggerExecute(gt_AIEndSuicide, true, false);
        TriggerExecute(gt_TempleHPLow4Q, true, false);

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

        }

        if (!((UnitGetPropertyFixed(gv_sITE_1_BUILDING, c_unitPropLifePercent, c_unitPropCurrent) <= 95.0))) {
            return false;
        }

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

        }

        if (!((UnitGetPropertyFixed(gv_sITE_1_BUILDING, c_unitPropLifePercent, c_unitPropCurrent) <= 85.0))) {
            return false;
        }

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

        }

        if (!((UnitGetPropertyFixed(gv_sITE_1_BUILDING, c_unitPropLifePercent, c_unitPropCurrent) <= 35.0))) {
            return false;
        }

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

        }

        if (!((UnitGetPropertyFixed(gv_sITE_2_BUILDING, c_unitPropLifePercent, c_unitPropCurrent) <= 95.0))) {
            return false;
        }

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

        }

        if (!((UnitGetPropertyFixed(gv_sITE_2_BUILDING, c_unitPropLifePercent, c_unitPropCurrent) <= 35.0))) {
            return false;
        }

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

        }

        if (!((UnitGetPropertyFixed(gv_sITE_3_BUILDING, c_unitPropLifePercent, c_unitPropCurrent) <= 95.0))) {
            return false;
        }

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

        }

        if (!((UnitGetPropertyFixed(gv_sITE_3_BUILDING, c_unitPropLifePercent, c_unitPropCurrent) <= 75.0))) {
            return false;
        }

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

        }

        if (!((UnitGetPropertyFixed(gv_sITE_3_BUILDING, c_unitPropLifePercent, c_unitPropCurrent) <= 30.0))) {
            return false;
        }

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

        }

        if (!((UnitGetPropertyFixed(gv_sITE_3_BUILDING, c_unitPropLifePercent, c_unitPropCurrent) <= 50.0))) {
            return false;
        }

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

        }

        if (!((UnitGetPropertyFixed(gv_sITE_3_BUILDING, c_unitPropLifePercent, c_unitPropCurrent) <= 60.0))) {
            return false;
        }

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

        auto1789B74F_var = UnitGroupUnitFromEnd(auto1789B74F_g, auto1789B74F_u);
        if (auto1789B74F_var == null) { break; }
        UnitSetPropertyFixed(auto1789B74F_var, c_unitPropLife, (UnitGetPropertyFixed(auto1789B74F_var, c_unitPropLife, c_unitPropCurrent) - gv_dAMAGEPULSEVALUE));
        libNtve_gf_AttachActorToUnit(auto1789B74F_var, "XelNagaShieldDomeImpact", "Ref_Center");
        gv_damageTracker += 1.0;

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

        libNtve_gf_AttachActorToUnit(auto1789B74F_var, "XelNagaShieldDomeImpact", "Ref_Center");
        gv_damageTracker += 1.0;
        if ((UnitGetPropertyFixed(auto1789B74F_var, c_unitPropLife, c_unitPropCurrent) <= 0.0) && (UnitGetOwner(auto1789B74F_var) == gv_pLAYER_01_USER)) {
            gv_statRipFieldDeaths += 1;
        }

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

        }

        if (!((UnitGetPropertyFixed(gv_uNITDaMothership, c_unitPropLifePercent, c_unitPropCurrent) <= 75.0))) {
            return false;
        }

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

        }

        if (!((UnitGetPropertyFixed(gv_uNITDaMothership, c_unitPropLifePercent, c_unitPropCurrent) <= 30.0))) {
            return false;
        }

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

        lv_allUnits = UnitGroupUnitFromEnd(auto26EB6079_g, auto26EB6079_u);
        if (lv_allUnits == null) { break; }
        gv_existingSupplyUpdate += UnitGetPropertyFixed(lv_allUnits, c_unitPropSuppliesUsed, c_unitPropCurrent);
        auto09A7124F_g = UnitCargoGroup(lv_allUnits);
        auto09A7124F_u = UnitGroupCount(auto09A7124F_g, c_unitCountAll);

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

            lv_cargoUnits = UnitGroupUnitFromEnd(auto09A7124F_g, auto09A7124F_u);
            if (lv_cargoUnits == null) { break; }
            gv_existingSupplyUpdate += UnitGetPropertyFixed(lv_cargoUnits, c_unitPropSuppliesUsed, c_unitPropCurrent);
        }
    }