# Active Players

Grammar — Active Players
FlagsNative | Function

Returns a player group containing all active players.

Returns — playergroup

native playergroup PlayerGroupActive();

Category: Player Group / Useful Player Groups

# Examples

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


    lv_trainCarToPing_LOCAL = gv_trainCarToPing;
    libNtve_gf_CreatePingFacingAngle(PlayerGroupActive(), "PingSimple", UnitGetPosition(lv_trainCarToPing_LOCAL), ColorWithAlpha(100.00, 0.00, 0.00, 0.00), 0.0, 270.0);
    lv_trainPing = PingLastCreated();
    PingSetUnit(lv_trainPing, gv_trainCarToPing);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1686


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TossGrenade", 0), true);
    gv_flashButtonGrenade = true;
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1714


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TossGrenade", 0), false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1742


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ExperimentalPlasmaGun", 0), true);
    gv_flashButtonPlasma = true;
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1770


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ExperimentalPlasmaGun", 0), false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1798


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TheMorosDevice", 0), true);
    gv_flashButtonChronos = true;
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1826


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TheMorosDevice", 0), false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1858


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("RaynorC4", 0), true);
    gv_flashButtonBreachingCharge = true;
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1879


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("RaynorC4", 0), false);
    gv_buttonBreachingChargeClicked = true;
    return true;

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

        }

        UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("BarracksTrain", 0), true);
    }

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

        }

        UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("CommandCenterTrain", 0), true);
    }

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

    TextTagAttachToUnit(gv_supplyHelperTXT, gv_supplySCV, 1.0);
    TextTagShow(gv_supplyHelperTXT, PlayerGroupAll(), true);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 1), true);
    TriggerEnable(gt_SupplySafetyTXTkiller, true);
    TriggerEnable(gt_DropshipRemover, true);

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

    TriggerEnable(TriggerGetCurrent(), false);
    TextTagDestroy(gv_supplyHelperTXT);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 1), false);
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1)) {
        UnitSetState(EventUnit(), c_unitStateTooltipable, false);

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

    TriggerEnable(TriggerGetCurrent(), false);
    gv_refineryButtonPressed = true;
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 2), false);
    libNtve_gf_KillModel(gv_geyserPing);
    return true;

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

    TriggerEnable(TriggerGetCurrent(), false);
    gv_sCVTrained = true;
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("CommandCenterTrain", 0), false);
    libNtve_gf_KillModel(gv_commandCenterPing);
    return true;

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

    TriggerEnable(TriggerGetCurrent(), false);
    gv_marineTrained = true;
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("BarracksTrain", 0), false);
    libNtve_gf_KillModel(gv_barracksPing);
    return true;

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

            libNtve_gf_AttachModelToUnit(UnitFromId(28), "BriefingUnitSelect", "Ref_Target");
            gv_geyserPing = libNtve_gf_ActorLastCreated();
            UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 2), true);
        }

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


    TechTreeAbilityAllow(gv_p1_USER, AbilityCommand("MindBlast", 0), true);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("MindBlast", 0), true);
    gv_flashMindblast = true;
    return true;

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


    TechTreeAbilityAllow(gv_p1_USER, AbilityCommand("VoodooShield", 0), true);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("VoodooShield", 0), true);
    gv_flashPsiShield = true;
    return true;

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

    libCamp_gf_SendTransmissionCampaign(null, SoundLink("TTosh03ARaynor00026", 0), c_transmissionDurationAdd, 0.0, true);
    TechTreeAbilityAllow(gv_p1_USER, AbilityCommand("HeroNuclearStrike", 0), true);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("HeroNuclearStrike", 0), true);
    gv_flashNuke = true;
    UnitMagazineArm(gv_shadowOps, AbilityCommand("HeroArmNuke", 0), libNtve_gf_DifficultyValueInt(5, 5, 4, 4));

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


    TechTreeAbilityAllow(gv_p1_USER, AbilityCommand("Consumption", 0), true);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("Consumption", 0), true);
    gv_flashConsumption = true;
    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);

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


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("MindBlast", 0), false);
    Wait(2.0, c_timeGame);
    libNtve_gf_KillModel(gv_actorMindblastIndicator);

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


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("Consumption", 0), false);
    return true;
}

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


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("VoodooShield", 0), false);
    return true;
}

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


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("HeroNuclearStrike", 0), false);
    return true;
}

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

    TriggerEnable(TriggerGetCurrent(), false);
    TechTreeAbilityAllow(gv_pLAYER01_USER, AbilityCommand("NovaSnipe", 0), true);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("NovaSnipe", 0), true);
    TriggerExecute(gt_P1SnipeCommentQ, true, false);
    TriggerExecute(gt_P1SnipeTipQ, true, false);

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

    TriggerExecute(gt_P1SnipeTipQ, true, false);
    Wait(10.0, c_timeGame);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("NovaSnipe", 0), false);
    return true;
}

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

    }

    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("NovaSnipe", 0), false);
    return true;
}

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

    }

    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("Domination", 0), true);
    return true;
}

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

    }

    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("Domination", 0), false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1103

    DialogControlSetPosition(DialogControlLastCreated(), PlayerGroupAll(), c_anchorTop, 0, 85);
    TransmissionSetOption(c_transmissionOptionHideAlertPanel, true);
    UIUnitColorStyleOverride(PlayerGroupActive(), c_unitColorStyleNormal);
    UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeCharacterSheetButton, false);
    UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowPings, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4600

    TriggerQueueEnter();
    if ((gv_replay_Transmission_Is_Playing == false)) {
        UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("attack", 0), true);
    }
    else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4864


    TriggerStop(gt__15Combat02LoopMouse);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("attack", 0), false);
    libNtve_gf_HideScreenImage(false, 15);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:5166

    TriggerQueueEnter();
    if ((gv_replay_Transmission_Is_Playing == false)) {
        UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("attack", 0), true);
    }
    else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:5393


    TriggerStop(gt__16Combat03LoopMouse);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("attack", 0), false);
    libNtve_gf_HideScreenImage(false, 16);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:6184

    libNtve_gf_DisplayScreenImage(18, "Assets\\Textures\\tutorialmouse.dds", c_triggerBlendModeAdd, 128, 256, c_anchorRight, 40, -55);
    lv_leftClick = libNtve_gf_ScreenImageDialogItem(18);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 0), true);
    while (true) {
        libNtve_gf_SetDialogItemImage(lv_leftClick, "Assets\\Textures\\tutorialmouse.dds", PlayerGroupAll());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:6210

    TriggerStop(gt__18Construction02LoopMouse);
    libNtve_gf_HideScreenImage(false, 18);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 0), false);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:6301

    }

    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 0), true);
    TriggerEnable(gt_Construction02CommandCenterStarted, true);
    PlayerModifyPropertyInt(gv_p01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 400);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:7088

    libNtve_gf_DisplayScreenImage(20, "Assets\\Textures\\tutorialmouse.dds", c_triggerBlendModeAdd, 128, 256, c_anchorRight, 40, -55);
    lv_leftClick = libNtve_gf_ScreenImageDialogItem(20);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 2), true);
    while (true) {
        libNtve_gf_SetDialogItemImage(lv_leftClick, "Assets\\Textures\\tutorialmouse.dds", PlayerGroupAll());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:7114

    TriggerStop(gt__20Collection02LoopMouse);
    libNtve_gf_HideScreenImage(false, 20);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 2), false);
    UnitGroupLoopBegin(UnitGroup("VespeneGeyser", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
    while (!UnitGroupLoopDone()) {

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

    gf_CreateNydusWorm(gv_p05_ZERG_BASE, RegionGetCenter(RegionFromId(38)), gf_GetSmartNydusRegion(), libNtve_gf_DifficultyValueInt(1, 1, 2, 3), "Roach", libNtve_gf_DifficultyValueInt(4, 4, 6, 9), "Zergling", libNtve_gf_DifficultyValueFixed(90.0, 90.0, 75.0, 60.0), 1);
    gv_baseNydus = gf_LastCreatedNydusWorm();
    PingCreate(PlayerGroupActive(), "PingWarning", RegionGetCenter(gv_createNydusWormTarget), ColorWithAlpha(100.00, 0.00, 0.00, 0.00), 5.0);
    libNtve_gf_AttachModelToUnit(gv_baseNydus, "BriefingUnitSelectRed", "Ref_Center");
    gv_baseNydusPing1 = libNtve_gf_ActorLastCreated();

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

    gf_CreateNydusWorm(gv_p05_ZERG_BASE, RegionGetCenter(gf_GetSmartNydusRegion()), RegionFromId(34), libNtve_gf_DifficultyValueInt(1, 1, 2, 4), "Hydralisk", libNtve_gf_DifficultyValueInt(4, 4, 1, 2), libNtve_gf_DifficultyValueUnitType("Zergling", "Zergling", "Baneling", "Baneling"), libNtve_gf_DifficultyValueFixed(90.0, 90.0, 75.0, 60.0), 2);
    gv_baseNydus = gf_LastCreatedNydusWorm();
    PingCreate(PlayerGroupActive(), "PingWarning", RegionGetCenter(gv_createNydusWormTarget), ColorWithAlpha(100.00, 0.00, 0.00, 0.00), 5.0);
    libNtve_gf_AttachModelToUnit(gv_baseNydus, "BriefingUnitSelectRed", "Ref_Center");
    gv_baseNydusPing2 = libNtve_gf_ActorLastCreated();

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


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ZeratulBlink", 0), true);
    gv_flashButtonBlink = true;
    return true;

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


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ZeratulBlink", 0), false);
    return true;
}

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


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ZeratulStun", 0), true);
    gv_flashButtonVoidPrison = true;
    return true;

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


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ZeratulStun", 0), false);
    return true;
}

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

    libNtve_gf_KillModel(gv_actorPlace01);
    libNtve_gf_KillModel(gv_actorPylon01);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ProtossBuild", 1), false);
    return true;
}

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

    }

    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ProtossBuild", 1), true);
    gv_flashButtonPylon = true;
    return true;

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


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ProtossBuild", 1), false);
    return true;
}

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


    lv_trainCarToPing_LOCAL = gv_trainCarToPing;
    libNtve_gf_CreatePingFacingAngle(PlayerGroupActive(), "PingSimple", UnitGetPosition(lv_trainCarToPing_LOCAL), ColorWithAlpha(100.00, 0.00, 0.00, 0.00), 0.0, 270.0);
    lv_trainPing = PingLastCreated();
    PingSetUnit(lv_trainPing, gv_trainCarToPing);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:1686


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TossGrenade", 0), true);
    gv_flashButtonGrenade = true;
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:1714


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TossGrenade", 0), false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:1742


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ExperimentalPlasmaGun", 0), true);
    gv_flashButtonPlasma = true;
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:1770


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ExperimentalPlasmaGun", 0), false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:1798


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TheMorosDevice", 0), true);
    gv_flashButtonChronos = true;
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:1826


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TheMorosDevice", 0), false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:1858


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("RaynorC4", 0), true);
    gv_flashButtonBreachingCharge = true;
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:1879


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("RaynorC4", 0), false);
    gv_buttonBreachingChargeClicked = true;
    return true;

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

        }

        UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("BarracksTrain", 0), true);
    }

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

        }

        UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("CommandCenterTrain", 0), true);
    }

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

    TextTagAttachToUnit(gv_supplyHelperTXT, gv_supplySCV, 1.0);
    TextTagShow(gv_supplyHelperTXT, PlayerGroupAll(), true);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 1), true);
    TriggerEnable(gt_SupplySafetyTXTkiller, true);
    TriggerEnable(gt_DropshipRemover, true);

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

    TriggerEnable(TriggerGetCurrent(), false);
    TextTagDestroy(gv_supplyHelperTXT);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 1), false);
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1)) {
        UnitSetState(EventUnit(), c_unitStateTooltipable, false);

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

    TriggerEnable(TriggerGetCurrent(), false);
    gv_refineryButtonPressed = true;
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 2), false);
    libNtve_gf_KillModel(gv_geyserPing);
    return true;

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

    TriggerEnable(TriggerGetCurrent(), false);
    gv_sCVTrained = true;
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("CommandCenterTrain", 0), false);
    libNtve_gf_KillModel(gv_commandCenterPing);
    return true;

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

    TriggerEnable(TriggerGetCurrent(), false);
    gv_marineTrained = true;
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("BarracksTrain", 0), false);
    libNtve_gf_KillModel(gv_barracksPing);
    return true;

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

            libNtve_gf_AttachModelToUnit(UnitFromId(28), "BriefingUnitSelect", "Ref_Target");
            gv_geyserPing = libNtve_gf_ActorLastCreated();
            UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 2), true);
        }

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


    TechTreeAbilityAllow(gv_p1_USER, AbilityCommand("MindBlast", 0), true);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("MindBlast", 0), true);
    gv_flashMindblast = true;
    return true;

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


    TechTreeAbilityAllow(gv_p1_USER, AbilityCommand("VoodooShield", 0), true);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("VoodooShield", 0), true);
    gv_flashPsiShield = true;
    return true;

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

    libCamp_gf_SendTransmissionCampaign(null, SoundLink("TTosh03ARaynor00026", 0), c_transmissionDurationAdd, 0.0, true);
    TechTreeAbilityAllow(gv_p1_USER, AbilityCommand("HeroNuclearStrike", 0), true);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("HeroNuclearStrike", 0), true);
    gv_flashNuke = true;
    UnitMagazineArm(gv_shadowOps, AbilityCommand("HeroArmNuke", 0), libNtve_gf_DifficultyValueInt(5, 5, 4, 4));

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


    TechTreeAbilityAllow(gv_p1_USER, AbilityCommand("Consumption", 0), true);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("Consumption", 0), true);
    gv_flashConsumption = true;
    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);

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


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("MindBlast", 0), false);
    Wait(2.0, c_timeGame);
    libNtve_gf_KillModel(gv_actorMindblastIndicator);

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


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("Consumption", 0), false);
    return true;
}

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


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("VoodooShield", 0), false);
    return true;
}

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


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("HeroNuclearStrike", 0), false);
    return true;
}

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

    TriggerEnable(TriggerGetCurrent(), false);
    TechTreeAbilityAllow(gv_pLAYER01_USER, AbilityCommand("NovaSnipe", 0), true);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("NovaSnipe", 0), true);
    TriggerExecute(gt_P1SnipeCommentQ, true, false);
    TriggerExecute(gt_P1SnipeTipQ, true, false);

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

    TriggerExecute(gt_P1SnipeTipQ, true, false);
    Wait(10.0, c_timeGame);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("NovaSnipe", 0), false);
    return true;
}

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

    }

    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("NovaSnipe", 0), false);
    return true;
}

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

    }

    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("Domination", 0), true);
    return true;
}

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

    }

    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("Domination", 0), false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:1103

    DialogControlSetPosition(DialogControlLastCreated(), PlayerGroupAll(), c_anchorTop, 0, 85);
    TransmissionSetOption(c_transmissionOptionHideAlertPanel, true);
    UIUnitColorStyleOverride(PlayerGroupActive(), c_unitColorStyleNormal);
    UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeCharacterSheetButton, false);
    UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowPings, false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:4600

    TriggerQueueEnter();
    if ((gv_replay_Transmission_Is_Playing == false)) {
        UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("attack", 0), true);
    }
    else {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:4864


    TriggerStop(gt__15Combat02LoopMouse);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("attack", 0), false);
    libNtve_gf_HideScreenImage(false, 15);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:5166

    TriggerQueueEnter();
    if ((gv_replay_Transmission_Is_Playing == false)) {
        UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("attack", 0), true);
    }
    else {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:5393


    TriggerStop(gt__16Combat03LoopMouse);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("attack", 0), false);
    libNtve_gf_HideScreenImage(false, 16);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:6184

    libNtve_gf_DisplayScreenImage(18, "Assets\\Textures\\tutorialmouse.dds", c_triggerBlendModeAdd, 128, 256, c_anchorRight, 40, -55);
    lv_leftClick = libNtve_gf_ScreenImageDialogItem(18);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 0), true);
    while (true) {
        libNtve_gf_SetDialogItemImage(lv_leftClick, "Assets\\Textures\\tutorialmouse.dds", PlayerGroupAll());

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:6210

    TriggerStop(gt__18Construction02LoopMouse);
    libNtve_gf_HideScreenImage(false, 18);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 0), false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:6301

    }

    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 0), true);
    TriggerEnable(gt_Construction02CommandCenterStarted, true);
    PlayerModifyPropertyInt(gv_p01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 400);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:7088

    libNtve_gf_DisplayScreenImage(20, "Assets\\Textures\\tutorialmouse.dds", c_triggerBlendModeAdd, 128, 256, c_anchorRight, 40, -55);
    lv_leftClick = libNtve_gf_ScreenImageDialogItem(20);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 2), true);
    while (true) {
        libNtve_gf_SetDialogItemImage(lv_leftClick, "Assets\\Textures\\tutorialmouse.dds", PlayerGroupAll());

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:7114

    TriggerStop(gt__20Collection02LoopMouse);
    libNtve_gf_HideScreenImage(false, 20);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 2), false);
    UnitGroupLoopBegin(UnitGroup("VespeneGeyser", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
    while (!UnitGroupLoopDone()) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2mapMapScript.galaxy:2304

    gf_CreateNydusWorm(gv_p05_ZERG_BASE, RegionGetCenter(RegionFromId(38)), gf_GetSmartNydusRegion(), libNtve_gf_DifficultyValueInt(1, 1, 2, 3), "Roach", libNtve_gf_DifficultyValueInt(4, 4, 6, 9), "Zergling", libNtve_gf_DifficultyValueFixed(90.0, 90.0, 75.0, 60.0), 1);
    gv_baseNydus = gf_LastCreatedNydusWorm();
    PingCreate(PlayerGroupActive(), "PingWarning", RegionGetCenter(gv_createNydusWormTarget), ColorWithAlpha(100.00, 0.00, 0.00, 0.00), 5.0);
    libNtve_gf_AttachModelToUnit(gv_baseNydus, "BriefingUnitSelectRed", "Ref_Center");
    gv_baseNydusPing1 = libNtve_gf_ActorLastCreated();

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2mapMapScript.galaxy:2340

    gf_CreateNydusWorm(gv_p05_ZERG_BASE, RegionGetCenter(gf_GetSmartNydusRegion()), RegionFromId(34), libNtve_gf_DifficultyValueInt(1, 1, 2, 4), "Hydralisk", libNtve_gf_DifficultyValueInt(4, 4, 1, 2), libNtve_gf_DifficultyValueUnitType("Zergling", "Zergling", "Baneling", "Baneling"), libNtve_gf_DifficultyValueFixed(90.0, 90.0, 75.0, 60.0), 2);
    gv_baseNydus = gf_LastCreatedNydusWorm();
    PingCreate(PlayerGroupActive(), "PingWarning", RegionGetCenter(gv_createNydusWormTarget), ColorWithAlpha(100.00, 0.00, 0.00, 0.00), 5.0);
    libNtve_gf_AttachModelToUnit(gv_baseNydus, "BriefingUnitSelectRed", "Ref_Center");
    gv_baseNydusPing2 = libNtve_gf_ActorLastCreated();

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2mapMapScript.galaxy:1217


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ZeratulBlink", 0), true);
    gv_flashButtonBlink = true;
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2mapMapScript.galaxy:1245


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ZeratulBlink", 0), false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2mapMapScript.galaxy:1273


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ZeratulStun", 0), true);
    gv_flashButtonVoidPrison = true;
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2mapMapScript.galaxy:1301


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ZeratulStun", 0), false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2mapMapScript.galaxy:2949

    libNtve_gf_KillModel(gv_actorPlace01);
    libNtve_gf_KillModel(gv_actorPylon01);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ProtossBuild", 1), false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2mapMapScript.galaxy:2979

    }

    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ProtossBuild", 1), true);
    gv_flashButtonPylon = true;
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul02.sc2mapMapScript.galaxy:3007


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ProtossBuild", 1), false);
    return true;
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:2211


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("PsionicLift", 0), true);
    gv_flashButtonCrushingGrip = true;
    gf_ChangeButtonTooltip("PsionicLift", "Param/Value/41BC3765");

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:2240


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("PsionicLift", 0), false);
    gf_RestoreButtonTooltip("PsionicLift");
    return true;