# Difficulty Level For Player

Grammar — Difficulty level for player p
FlagsNative | Function

Returns the difficulty level for the specified player.

# Arguments

  • int — Player

Returns — int<difficulty>

native int PlayerDifficulty(int inPlayer);

Category: Player / Difficulty Levels

# Examples

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

        }
    }
    libCamp_gf_PrepareForStoryMode(c_gameOverVictory, PlayerDifficulty(gv_p1_USER));
    GameOver(gv_p1_USER, c_gameOverVictory, false, false);
    return true;

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

    }

    libCamp_gf_PrepareForStoryMode(c_gameOverVictory, PlayerDifficulty(1));
    libCamp_gf_CreateStoryModeTransitionSave(libCamp_gf_MissionName(32), null);
    GameOver(1, c_gameOverVictory, false, false);

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

    }

    auto688100D6_val = PlayerDifficulty(gv_pLAYER_01_USER);
    if (auto688100D6_val == 1) {
        PlayerModifyPropertyInt(gv_pLAYER_02_REFUGEES, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

    }

    if ((PlayerDifficulty(gv_pLAYER01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_pLAYER02_PROTOSS, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_pLAYER04_PURIFIER, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

    }

    if ((PlayerDifficulty(gv_p01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_p02_ZERG_EAST, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_p03_VIROPHAGE, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

    }

    if ((PlayerDifficulty(gv_pLAYER_01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_pLAYER_02_DOMINION, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_pLAYER_03_DOMINION, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

    // Transmission - SoundLink("THorner01Horner00008", -1)
    libCamp_gf_SendTransmissionCampaign(null, SoundLink("THorner01Horner00008", -1), c_transmissionDurationAdd, 0.0, true);
    if (((PlayerDifficulty(gv_pLAYER_01_USER) == 3) || (PlayerDifficulty(gv_pLAYER_01_USER) == 4))) {
        // Transmission - SoundLink("THorner01Horner00021", -1)
        libCamp_gf_SendTransmissionCampaign(null, SoundLink("THorner01Horner00021", 0), c_transmissionDurationAdd, 0.0, true);

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

    // Transmission - SoundLink("THorner01Horner00008", -1)
    libCamp_gf_SendTransmissionCampaign(null, SoundLink("THorner01Horner00008", -1), c_transmissionDurationAdd, 0.0, true);
    if (((PlayerDifficulty(gv_pLAYER_01_USER) == 3) || (PlayerDifficulty(gv_pLAYER_01_USER) == 4))) {
        // Transmission - SoundLink("THorner01Horner00021", -1)
        libCamp_gf_SendTransmissionCampaign(null, SoundLink("THorner01Horner00021", 0), c_transmissionDurationAdd, 0.0, true);

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

    }

    if ((PlayerDifficulty(gv_p01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_p02_ORLAN_ENEMY, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_p04_DOMINION, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

    }

    autoA1DF5919_val = PlayerDifficulty(gv_p01_USER);
    if (autoA1DF5919_val == 1) {
        UnitSetPropertyFixed(UnitFromId(835), c_unitPropLifeMax, 1000.0);

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

    }

    if ((PlayerDifficulty(gv_p01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_p02_DOMINION_INFANTRY, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_p03_DOMINION_SIEGE, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

    }

    if ((PlayerDifficulty(gv_p1_USER) == 1)) {
        PlayerModifyPropertyInt(gv_p2_DOMINION_RED, c_playerPropHandicap, c_playerPropOperSetTo, 50);
    }

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


    TriggerEnable(TriggerGetCurrent(), false);
    if (((PlayerDifficulty(1) == 1) == true)) {
        UnitSetInfoText(UnitFromId(59), StringToText(""), StringExternal("Param/Value/909DD693"), StringToText(""));
        UnitSetInfoText(UnitFromId(238), StringToText(""), StringExternal("Param/Value/9DDB8681"), StringToText(""));

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

    }

    if (((PlayerDifficulty(1) == 4) != true)) {
        libNtve_gf_AttachModelToUnit(UnitFromId(59), "BriefingUnitSelectRedSmall", "Ref_Center");
        gv_roadblockActor01 = libNtve_gf_ActorLastCreated();

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


    TriggerEnable(TriggerGetCurrent(), false);
    if (((PlayerDifficulty(1) == 1 || PlayerDifficulty(1) == 2) == true)) {
        CameraPan(gv_p1_USER, CameraInfoGetTarget(CameraInfoFromId(2604)), 1.5, -1, 20, true);
    }

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


    TriggerEnable(TriggerGetCurrent(), false);
    if (((PlayerDifficulty(1) == 1 || PlayerDifficulty(1) == 2) == true)) {
        CameraPan(gv_p1_USER, CameraInfoGetTarget(CameraInfoFromId(2604)), 1.5, -1, 20, true);
    }

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

    libNtve_gf_CreateUnitsWithDefaultFacing(3, "Marine", 0, gv_p1_USER, PointFromId(106));
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_dropGroup);
    if (((PlayerDifficulty(1) == 1) == true)) {
        auto36165784_g = gv_dropGroup;
        auto36165784_u = UnitGroupCount(auto36165784_g, c_unitCountAll);

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

    UnitCargoCreate(gv_introDropship, "Marine", 5);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitCargoLastCreatedGroup(), gv_introUnitCargoStart);
    if (((PlayerDifficulty(1) == 1) == true)) {
        auto51E1AAFD_g = gv_introUnitCargoStart;
        auto51E1AAFD_u = UnitGroupCount(auto51E1AAFD_g, c_unitCountAll);

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

    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p1_USER, PointFromId(1020));
    UnitGroupAdd(gv_raynorsMarines, UnitLastCreated());
    if (((PlayerDifficulty(1) == 1) == true)) {
        auto0729A66F_g = gv_raynorsMarines;
        auto0729A66F_u = UnitGroupCount(auto0729A66F_g, c_unitCountAll);

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

    }

    auto3687E612_val = PlayerDifficulty(gv_pLAYER_01_USER);
    if (auto3687E612_val == 1) {
        PlayerModifyPropertyInt(gv_pLAYER_02_DOMINION, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

        }

        if (!(((PlayerDifficulty(gv_pLAYER_01_USER) == 1) || (PlayerDifficulty(gv_pLAYER_01_USER) == 2)))) {
            return false;
        }

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

        }

        if (!(((PlayerDifficulty(gv_pLAYER_01_USER) == 1) || (PlayerDifficulty(gv_pLAYER_01_USER) == 2)))) {
            return false;
        }

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

    }

    if ((PlayerDifficulty(gv_pLAYER01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_pLAYER02_ZERG, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_pLAYER03_ZERG, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

    AIAttackWaveAddUnits4(0, 3, 4, 6, "Mutalisk");
    AIAttackWaveSend(gv_pLAYER03_ZERG, 260, true);
    if (((PlayerDifficulty(1) <= 2) == true)) {
        AIAttackWaveAddWaypoint(gv_pLAYER03_ZERG, PointFromId(361), false);
        AIAttackWaveAddWaypoint(gv_pLAYER03_ZERG, PointFromId(363), false);

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

    }
    else {
        if (((PlayerDifficulty(1) == 3) == true)) {
            AIAttackWaveAddWaypoint(gv_pLAYER03_ZERG, PointFromId(594), false);
            AIAttackWaveAddWaypoint(gv_pLAYER03_ZERG, PointFromId(363), false);

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

        }
    }
    if (((PlayerDifficulty(1) <= 2) == true)) {
        AIAttackWaveAddWaypoint(gv_pLAYER03_ZERG, PointFromId(360), false);
    }

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

        }

        if (!((PlayerDifficulty(gv_pLAYER01_USER) != 4))) {
            return false;
        }

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

    lv_index = 1;
    for ( ; ( (autoF7334389_ai >= 0 && lv_index <= autoF7334389_ae) || (autoF7334389_ai <= 0 && lv_index >= autoF7334389_ae) ) ; lv_index += autoF7334389_ai ) {
        if ((gv_zPlanetPanel_DropdownDifficultyIndexToDifficulty[lv_index] == PlayerDifficulty(1))) {
            DialogControlSelectItem(gv_zPlanetPanel_DropdownDifficulty, PlayerGroupAll(), lv_index);
            break;

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

    }

    libCamp_gf_PrepareForStoryMode(c_gameOverVictory, PlayerDifficulty(1));
    GameOver(1, c_gameOverVictory, false, false);
    return true;

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

    libNtve_gf_HideScreenButton(false, (ge_ScreenButtonID_ButtonBack));
    Wait(0.125, c_timeReal);
    libCamp_gf_PrepareForMission(libCamp_ge_MapID_MapTSimulator, false, false, PlayerDifficulty(1));
    GameOver(1, c_gameOverVictory, false, false);
    return true;

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

    libNtve_gf_HideScreenButton(false, (ge_ScreenButtonID_ButtonBack));
    Wait(0.125, c_timeReal);
    libCamp_gf_PrepareForMission(libCamp_ge_MapID_MapTArcade, false, false, PlayerDifficulty(1));
    GameOver(1, c_gameOverVictory, false, false);
    return true;

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

    }

    if ((PlayerDifficulty(gv_p1_USER) == 1)) {
        PlayerModifyPropertyInt(gv_p2_PROTOSS_EAST_ATTACKERS, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_p3_PROTOSS_SCRIPTED, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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: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:912

        libNtve_gf_SetTacticalAIThink(autoB6AD81FD_var, "Medic", "MedicAI", false);
    }
    if (((PlayerDifficulty(1) == 3 || PlayerDifficulty(1) == 4) == true)) {
        AISetDifficulty(gv_p3_DOMINION_RED, c_diffPressForward, true);
    }

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

        libNtve_gf_SetTacticalAIThink(autoB6AD81FD_var, "Medic", "MedicAI", false);
    }
    if (((PlayerDifficulty(1) == 3 || PlayerDifficulty(1) == 4) == true)) {
        AISetDifficulty(gv_p3_DOMINION_RED, c_diffPressForward, true);
    }

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

    }

    if ((PlayerDifficulty(gv_p1_USER) == 1)) {
        TechTreeUpgradeAddLevel(gv_p1_USER, "ToshEasyMode", 1);
    }

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

    }

    if ((PlayerDifficulty(gv_pLAYER01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_pLAYER02_TOSH, c_playerPropHandicap, c_playerPropOperSetTo, 50);
    }

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

        }

        if (!(((PlayerDifficulty(gv_pLAYER01_USER) == 1) || (PlayerDifficulty(gv_pLAYER01_USER) == 2)))) {
            return false;
        }

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

        }

        if (!(((PlayerDifficulty(gv_pLAYER01_USER) == 1) || (PlayerDifficulty(gv_pLAYER01_USER) == 2)))) {
            return false;
        }

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

        }

        if (!(((PlayerDifficulty(gv_pLAYER01_USER) == 1) || (PlayerDifficulty(gv_pLAYER01_USER) == 2)))) {
            return false;
        }

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

        }

        if (!(((PlayerDifficulty(gv_pLAYER01_USER) == 1) || (PlayerDifficulty(gv_pLAYER01_USER) == 2)))) {
            return false;
        }

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

    // Conditions
    if (testConds) {
        if (!(((PlayerDifficulty(1) == 4) == true))) {
            return false;
        }

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

    }

    if ((PlayerDifficulty(gv_p01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_p02_ZERG, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_p05_ZERG_BASE, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

    }

    if ((PlayerDifficulty(gv_pLAYER01_USER) == 1)) {
        autoAEC2C665_g = gv_protossPlayers;
        autoAEC2C665_var = -1;

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

    }

    if ((PlayerDifficulty(gv_pLAYER_01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_pLAYER_02_ScriptedTOSS, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_pLAYER_03_HighTOSS, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

        UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 7), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, 0.0)), c_orderQueueAddToEnd);
        UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 7), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), 4.0, -4.0)), c_orderQueueAddToEnd);
        if (((PlayerDifficulty(gv_pLAYER_01_USER) == 3) || (PlayerDifficulty(gv_pLAYER_01_USER) == 4))) {
            UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 14), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, 4.0)), c_orderQueueAddToEnd);
            UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 14), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, -4.0)), c_orderQueueAddToEnd);

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

        UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 7), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, 0.0)), c_orderQueueAddToEnd);
        UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 7), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), 4.0, -4.0)), c_orderQueueAddToEnd);
        if (((PlayerDifficulty(gv_pLAYER_01_USER) == 3) || (PlayerDifficulty(gv_pLAYER_01_USER) == 4))) {
            UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 14), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, 4.0)), c_orderQueueAddToEnd);
            UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 14), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, -4.0)), c_orderQueueAddToEnd);

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

        UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 1), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), 0.0, 4.0)), c_orderQueueAddToEnd);
        UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 1), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), 0.0, -4.0)), c_orderQueueAddToEnd);
        if (((PlayerDifficulty(gv_pLAYER_01_USER) == 3) || (PlayerDifficulty(gv_pLAYER_01_USER) == 4))) {
            UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 8), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, 4.0)), c_orderQueueAddToEnd);
            UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 8), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, -4.0)), c_orderQueueAddToEnd);

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

        UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 1), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), 0.0, 4.0)), c_orderQueueAddToEnd);
        UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 1), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), 0.0, -4.0)), c_orderQueueAddToEnd);
        if (((PlayerDifficulty(gv_pLAYER_01_USER) == 3) || (PlayerDifficulty(gv_pLAYER_01_USER) == 4))) {
            UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 8), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, 4.0)), c_orderQueueAddToEnd);
            UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 8), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, -4.0)), c_orderQueueAddToEnd);

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

        UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 6), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, 0.0)), c_orderQueueAddToEnd);
        UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 6), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), 4.0, -4.0)), c_orderQueueAddToEnd);
        if (((PlayerDifficulty(gv_pLAYER_01_USER) == 3) || (PlayerDifficulty(gv_pLAYER_01_USER) == 4))) {
            UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 8), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, 4.0)), c_orderQueueAddToEnd);
            UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 8), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, -4.0)), c_orderQueueAddToEnd);

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

        UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 6), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, 0.0)), c_orderQueueAddToEnd);
        UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 6), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), 4.0, -4.0)), c_orderQueueAddToEnd);
        if (((PlayerDifficulty(gv_pLAYER_01_USER) == 3) || (PlayerDifficulty(gv_pLAYER_01_USER) == 4))) {
            UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 8), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, 4.0)), c_orderQueueAddToEnd);
            UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 8), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, -4.0)), c_orderQueueAddToEnd);

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

        UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 7), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, 0.0)), c_orderQueueAddToEnd);
        UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 7), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), 4.0, -4.0)), c_orderQueueAddToEnd);
        if (((PlayerDifficulty(gv_pLAYER_01_USER) == 3) || (PlayerDifficulty(gv_pLAYER_01_USER) == 4))) {
            UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 14), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, 4.0)), c_orderQueueAddToEnd);
            UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 14), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, -4.0)), c_orderQueueAddToEnd);

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

        UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 7), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, 0.0)), c_orderQueueAddToEnd);
        UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 7), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), 4.0, -4.0)), c_orderQueueAddToEnd);
        if (((PlayerDifficulty(gv_pLAYER_01_USER) == 3) || (PlayerDifficulty(gv_pLAYER_01_USER) == 4))) {
            UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 14), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, 4.0)), c_orderQueueAddToEnd);
            UnitIssueOrder(gv_uNIT_Toss02_SUPERWARPGATE, OrderTargetingPoint(AbilityCommand("SuperWarpGateTrain", 14), PointWithOffset(UnitGetPosition(gv_uNITDaMothership), -4.0, -4.0)), c_orderQueueAddToEnd);

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

    }

    if ((PlayerDifficulty(gv_pLAYER_P01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_pLAYER_P03_ZERG_BR, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_pLAYER_P04_ZERG_BL, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

    }

    if ((PlayerDifficulty(gv_pLAYER_USER) == 1)) {
        auto2008B5F2_g = gv_zergPlayers;
        auto2008B5F2_var = -1;

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

    }

    if ((PlayerDifficulty(gv_p1_USER) == 1)) {
        PlayerModifyPropertyInt(gv_p3_ZERG, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_p4_RUNOUT_ZERG, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

    }

    if ((PlayerDifficulty(gv_p1_USER) == 1)) {
        PlayerModifyPropertyInt(gv_p3_PROTOSS_ENEMY, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_p4_PROTOSS_ENEMY, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

    }

    if ((PlayerDifficulty(gv_p01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_p02_ZERG_LOW_GROUND_AI, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_p03_ZERG_NORTH, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

    }

    if ((PlayerDifficulty(gv_p01_PLAYER) == 1)) {
        PlayerModifyPropertyInt(gv_p04_ZERG_NW, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_p05_ZERG_NE, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

    TriggerExecute(gt_EndGameCreepTumorCorruption, true, false);
    TriggerExecute(gt_TransmissionHybridIncoming2Q, true, false);
    if ((PlayerDifficulty(gv_p01_PLAYER) == 1)) {
        PlayerModifyPropertyInt(gv_p04_ZERG_NW, c_playerPropHandicap, c_playerPropOperSetTo, 75);
        PlayerModifyPropertyInt(gv_p05_ZERG_NE, c_playerPropHandicap, c_playerPropOperSetTo, 75);

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

    gv_statWavessent += 1;
    Wait(gf_WaitSpecial(40.0, 20.0), c_timeAI);
    if ((PlayerDifficulty(gv_p01_PLAYER) == 1)) {
        PlayerModifyPropertyInt(gv_p04_ZERG_NW, c_playerPropHandicap, c_playerPropOperSetTo, 100);
        PlayerModifyPropertyInt(gv_p05_ZERG_NE, c_playerPropHandicap, c_playerPropOperSetTo, 100);

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

        }
    }
    libCamp_gf_PrepareForStoryMode(c_gameOverVictory, PlayerDifficulty(gv_p1_USER));
    GameOver(gv_p1_USER, c_gameOverVictory, false, false);
    return true;

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

    }

    libCamp_gf_PrepareForStoryMode(c_gameOverVictory, PlayerDifficulty(1));
    libCamp_gf_CreateStoryModeTransitionSave(libCamp_gf_MissionName(32), null);
    GameOver(1, c_gameOverVictory, false, false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:703

    }

    auto688100D6_val = PlayerDifficulty(gv_pLAYER_01_USER);
    if (auto688100D6_val == 1) {
        PlayerModifyPropertyInt(gv_pLAYER_02_REFUGEES, c_playerPropHandicap, c_playerPropOperSetTo, 50);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2mapMapScript.galaxy:847

    }

    if ((PlayerDifficulty(gv_pLAYER01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_pLAYER02_PROTOSS, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_pLAYER04_PURIFIER, c_playerPropHandicap, c_playerPropOperSetTo, 50);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2mapMapScript.galaxy:1167

    }

    if ((PlayerDifficulty(gv_p01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_p02_ZERG_EAST, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_p03_VIROPHAGE, c_playerPropHandicap, c_playerPropOperSetTo, 50);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2mapMapScript.galaxy:860

    }

    if ((PlayerDifficulty(gv_pLAYER_01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_pLAYER_02_DOMINION, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_pLAYER_03_DOMINION, c_playerPropHandicap, c_playerPropOperSetTo, 50);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2mapMapScript.galaxy:4004

    // Transmission - SoundLink("THorner01Horner00008", -1)
    libCamp_gf_SendTransmissionCampaign(null, SoundLink("THorner01Horner00008", -1), c_transmissionDurationAdd, 0.0, true);
    if (((PlayerDifficulty(gv_pLAYER_01_USER) == 3) || (PlayerDifficulty(gv_pLAYER_01_USER) == 4))) {
        // Transmission - SoundLink("THorner01Horner00021", -1)
        libCamp_gf_SendTransmissionCampaign(null, SoundLink("THorner01Horner00021", 0), c_transmissionDurationAdd, 0.0, true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2mapMapScript.galaxy:4004

    // Transmission - SoundLink("THorner01Horner00008", -1)
    libCamp_gf_SendTransmissionCampaign(null, SoundLink("THorner01Horner00008", -1), c_transmissionDurationAdd, 0.0, true);
    if (((PlayerDifficulty(gv_pLAYER_01_USER) == 3) || (PlayerDifficulty(gv_pLAYER_01_USER) == 4))) {
        // Transmission - SoundLink("THorner01Horner00021", -1)
        libCamp_gf_SendTransmissionCampaign(null, SoundLink("THorner01Horner00021", 0), c_transmissionDurationAdd, 0.0, true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:782

    }

    if ((PlayerDifficulty(gv_p01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_p02_ORLAN_ENEMY, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_p04_DOMINION, c_playerPropHandicap, c_playerPropOperSetTo, 50);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2mapMapScript.galaxy:596

    }

    autoA1DF5919_val = PlayerDifficulty(gv_p01_USER);
    if (autoA1DF5919_val == 1) {
        UnitSetPropertyFixed(UnitFromId(835), c_unitPropLifeMax, 1000.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:1111

    }

    if ((PlayerDifficulty(gv_p01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_p02_DOMINION_INFANTRY, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_p03_DOMINION_SIEGE, c_playerPropHandicap, c_playerPropOperSetTo, 50);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2mapMapScript.galaxy:627

    }

    if ((PlayerDifficulty(gv_p1_USER) == 1)) {
        PlayerModifyPropertyInt(gv_p2_DOMINION_RED, c_playerPropHandicap, c_playerPropOperSetTo, 50);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2mapMapScript.galaxy:1074


    TriggerEnable(TriggerGetCurrent(), false);
    if (((PlayerDifficulty(1) == 1) == true)) {
        UnitSetInfoText(UnitFromId(59), StringToText(""), StringExternal("Param/Value/909DD693"), StringToText(""));
        UnitSetInfoText(UnitFromId(238), StringToText(""), StringExternal("Param/Value/9DDB8681"), StringToText(""));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2mapMapScript.galaxy:1079

    }

    if (((PlayerDifficulty(1) == 4) != true)) {
        libNtve_gf_AttachModelToUnit(UnitFromId(59), "BriefingUnitSelectRedSmall", "Ref_Center");
        gv_roadblockActor01 = libNtve_gf_ActorLastCreated();

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2mapMapScript.galaxy:1131


    TriggerEnable(TriggerGetCurrent(), false);
    if (((PlayerDifficulty(1) == 1 || PlayerDifficulty(1) == 2) == true)) {
        CameraPan(gv_p1_USER, CameraInfoGetTarget(CameraInfoFromId(2604)), 1.5, -1, 20, true);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2mapMapScript.galaxy:1131


    TriggerEnable(TriggerGetCurrent(), false);
    if (((PlayerDifficulty(1) == 1 || PlayerDifficulty(1) == 2) == true)) {
        CameraPan(gv_p1_USER, CameraInfoGetTarget(CameraInfoFromId(2604)), 1.5, -1, 20, true);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2mapMapScript.galaxy:1818

    libNtve_gf_CreateUnitsWithDefaultFacing(3, "Marine", 0, gv_p1_USER, PointFromId(106));
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_dropGroup);
    if (((PlayerDifficulty(1) == 1) == true)) {
        auto36165784_g = gv_dropGroup;
        auto36165784_u = UnitGroupCount(auto36165784_g, c_unitCountAll);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2mapMapScript.galaxy:4950

    UnitCargoCreate(gv_introDropship, "Marine", 5);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitCargoLastCreatedGroup(), gv_introUnitCargoStart);
    if (((PlayerDifficulty(1) == 1) == true)) {
        auto51E1AAFD_g = gv_introUnitCargoStart;
        auto51E1AAFD_u = UnitGroupCount(auto51E1AAFD_g, c_unitCountAll);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2mapMapScript.galaxy:5137

    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p1_USER, PointFromId(1020));
    UnitGroupAdd(gv_raynorsMarines, UnitLastCreated());
    if (((PlayerDifficulty(1) == 1) == true)) {
        auto0729A66F_g = gv_raynorsMarines;
        auto0729A66F_u = UnitGroupCount(auto0729A66F_g, c_unitCountAll);

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

    }

    auto3687E612_val = PlayerDifficulty(gv_pLAYER_01_USER);
    if (auto3687E612_val == 1) {
        PlayerModifyPropertyInt(gv_pLAYER_02_DOMINION, c_playerPropHandicap, c_playerPropOperSetTo, 50);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2mapMapScript.galaxy:1205

        }

        if (!(((PlayerDifficulty(gv_pLAYER_01_USER) == 1) || (PlayerDifficulty(gv_pLAYER_01_USER) == 2)))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2mapMapScript.galaxy:1205

        }

        if (!(((PlayerDifficulty(gv_pLAYER_01_USER) == 1) || (PlayerDifficulty(gv_pLAYER_01_USER) == 2)))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2mapMapScript.galaxy:765

    }

    if ((PlayerDifficulty(gv_pLAYER01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_pLAYER02_ZERG, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_pLAYER03_ZERG, c_playerPropHandicap, c_playerPropOperSetTo, 50);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2mapMapScript.galaxy:2636

    AIAttackWaveAddUnits4(0, 3, 4, 6, "Mutalisk");
    AIAttackWaveSend(gv_pLAYER03_ZERG, 260, true);
    if (((PlayerDifficulty(1) <= 2) == true)) {
        AIAttackWaveAddWaypoint(gv_pLAYER03_ZERG, PointFromId(361), false);
        AIAttackWaveAddWaypoint(gv_pLAYER03_ZERG, PointFromId(363), false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2mapMapScript.galaxy:2643

    }
    else {
        if (((PlayerDifficulty(1) == 3) == true)) {
            AIAttackWaveAddWaypoint(gv_pLAYER03_ZERG, PointFromId(594), false);
            AIAttackWaveAddWaypoint(gv_pLAYER03_ZERG, PointFromId(363), false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2mapMapScript.galaxy:2660

        }
    }
    if (((PlayerDifficulty(1) <= 2) == true)) {
        AIAttackWaveAddWaypoint(gv_pLAYER03_ZERG, PointFromId(360), false);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2mapMapScript.galaxy:4119

        }

        if (!((PlayerDifficulty(gv_pLAYER01_USER) != 4))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:10531

    lv_index = 1;
    for ( ; ( (autoF7334389_ai >= 0 && lv_index <= autoF7334389_ae) || (autoF7334389_ai <= 0 && lv_index >= autoF7334389_ae) ) ; lv_index += autoF7334389_ai ) {
        if ((gv_zPlanetPanel_DropdownDifficultyIndexToDifficulty[lv_index] == PlayerDifficulty(1))) {
            DialogControlSelectItem(gv_zPlanetPanel_DropdownDifficulty, PlayerGroupAll(), lv_index);
            break;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:17575

    }

    libCamp_gf_PrepareForStoryMode(c_gameOverVictory, PlayerDifficulty(1));
    GameOver(1, c_gameOverVictory, false, false);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:22006

    libNtve_gf_HideScreenButton(false, (ge_ScreenButtonID_ButtonBack));
    Wait(0.125, c_timeReal);
    libCamp_gf_PrepareForMission(libCamp_ge_MapID_MapTSimulator, false, false, PlayerDifficulty(1));
    GameOver(1, c_gameOverVictory, false, false);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:22755

    libNtve_gf_HideScreenButton(false, (ge_ScreenButtonID_ButtonBack));
    Wait(0.125, c_timeReal);
    libCamp_gf_PrepareForMission(libCamp_ge_MapID_MapTArcade, false, false, PlayerDifficulty(1));
    GameOver(1, c_gameOverVictory, false, false);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh02.sc2mapMapScript.galaxy:897

    }

    if ((PlayerDifficulty(gv_p1_USER) == 1)) {
        PlayerModifyPropertyInt(gv_p2_PROTOSS_EAST_ATTACKERS, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_p3_PROTOSS_SCRIPTED, c_playerPropHandicap, c_playerPropOperSetTo, 50);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2mapMapScript.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.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2mapMapScript.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.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2mapMapScript.galaxy:912

        libNtve_gf_SetTacticalAIThink(autoB6AD81FD_var, "Medic", "MedicAI", false);
    }
    if (((PlayerDifficulty(1) == 3 || PlayerDifficulty(1) == 4) == true)) {
        AISetDifficulty(gv_p3_DOMINION_RED, c_diffPressForward, true);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2mapMapScript.galaxy:912

        libNtve_gf_SetTacticalAIThink(autoB6AD81FD_var, "Medic", "MedicAI", false);
    }
    if (((PlayerDifficulty(1) == 3 || PlayerDifficulty(1) == 4) == true)) {
        AISetDifficulty(gv_p3_DOMINION_RED, c_diffPressForward, true);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2mapMapScript.galaxy:935

    }

    if ((PlayerDifficulty(gv_p1_USER) == 1)) {
        TechTreeUpgradeAddLevel(gv_p1_USER, "ToshEasyMode", 1);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2mapMapScript.galaxy:785

    }

    if ((PlayerDifficulty(gv_pLAYER01_USER) == 1)) {
        PlayerModifyPropertyInt(gv_pLAYER02_TOSH, c_playerPropHandicap, c_playerPropOperSetTo, 50);
    }