# Turn Ability Highlight On/Off

Grammar — Turn command highlight highlighted|On/Off for players
FlagsNative | Action

The buttons for a highlighted ability command are flashed in the user’s command card UI. If the ability command is contained in a sub-page, like one of the standard “build” commands, the button for the sub-page itself will also be highlighted.

# Arguments

  • playergroup — Players
  • abilcmd — Command
  • bool<preset::OnOffOption> — Highlighted

Returns — void

native void UISetButtonHighlighted(
	playergroup inPlayers,
	abilcmd inAbilCmd,
	bool inHighlight,
);

Category: UI / Game UI

# Examples

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: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/ttutorial01.sc2map/MapScript.galaxy:7146


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 2), true);
    return true;
}

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

    libCamp_gf_SendTransmissionCampaign(null, SoundLink("TTychus05Raynor00010", -1), c_transmissionDurationAdd, 0.0, false);
    UIAlertUnit("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/AD6487AA"), null, UnitFromId(159));
    UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("Yamato", 0), true);
    TimerStart(gv_yamatoButtonFlashtimeout, 30.0, false, c_timeGame);
    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);

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

    }

    UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("Yamato", 0), false);
    return true;
}

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

    }
    TechTreeAbilityAllow(gv_p1_USER, AbilityCommand("RaynorSnipe", 0), true);
    UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("RaynorSnipe", 0), true);
    TransmissionClear(gv_interruptableTransmission);
    TriggerStop(gt__1OpeningDialogueQ);

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

    }

    UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("RaynorSnipe", 0), false);
    return true;
}

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

    }
    TechTreeAbilityAllow(gv_p1_USER, AbilityCommand("BonesTossGrenade", 0), true);
    UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("BonesTossGrenade", 0), true);
    TriggerQueueEnter();
    libNtve_gf_AttachModelToUnit(gv_tHEONETYCHUS, "TalkIcon", "Origin");

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

    }

    UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("BonesTossGrenade", 0), false);
    return true;
}

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


    TriggerEnable(gt__1TeachBettyViaCast, true);
    UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("DutchPlaceTurret", 0), true);
    TechTreeAbilityAllow(gv_p1_USER, AbilityCommand("DutchPlaceTurret", 0), true);
    TriggerQueueEnter();

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

    }

    UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("DutchPlaceTurret", 0), false);
    return true;
}

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/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: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/ttutorial01.sc2mapMapScript.galaxy:7146


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TerranBuild", 2), true);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2mapMapScript.galaxy:982

    libCamp_gf_SendTransmissionCampaign(null, SoundLink("TTychus05Raynor00010", -1), c_transmissionDurationAdd, 0.0, false);
    UIAlertUnit("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/AD6487AA"), null, UnitFromId(159));
    UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("Yamato", 0), true);
    TimerStart(gv_yamatoButtonFlashtimeout, 30.0, false, c_timeGame);
    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);

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

    }

    UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("Yamato", 0), false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2mapMapScript.galaxy:1691

    }
    TechTreeAbilityAllow(gv_p1_USER, AbilityCommand("RaynorSnipe", 0), true);
    UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("RaynorSnipe", 0), true);
    TransmissionClear(gv_interruptableTransmission);
    TriggerStop(gt__1OpeningDialogueQ);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2mapMapScript.galaxy:1855

    }

    UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("RaynorSnipe", 0), false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2mapMapScript.galaxy:1994

    }
    TechTreeAbilityAllow(gv_p1_USER, AbilityCommand("BonesTossGrenade", 0), true);
    UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("BonesTossGrenade", 0), true);
    TriggerQueueEnter();
    libNtve_gf_AttachModelToUnit(gv_tHEONETYCHUS, "TalkIcon", "Origin");

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2mapMapScript.galaxy:2154

    }

    UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("BonesTossGrenade", 0), false);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2mapMapScript.galaxy:2324


    TriggerEnable(gt__1TeachBettyViaCast, true);
    UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("DutchPlaceTurret", 0), true);
    TechTreeAbilityAllow(gv_p1_USER, AbilityCommand("DutchPlaceTurret", 0), true);
    TriggerQueueEnter();