# Lock Flyer Helper Display

Grammar — Lock flyer helper display for players in players to display
FlagsNative | Action

Locks the flyer helper display that is selected for all players in the player group.

# Arguments

Returns — void

native void UIFlyerHelperOverride(
	playergroup inPlayers,
	int display,
);

Category: UI / Game UI

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2065

            PlayerScoreValueEnableAll(lv_pickedPlayer, false);
        }
        UIFlyerHelperOverride(lv_validPlayers, libNtve_ge_FlyerHelperDisplay_c_flyerDisplayNone);
        TriggerSendEvent("CinematicModeOn");
    }

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:1755

            	PlayerScoreValueEnableAll(lv_pickedPlayer, false);
        }
        UIFlyerHelperOverride(lv_validPlayers, libNtve_ge_FlyerHelperDisplay_c_flyerDisplayNone);
        TriggerSendEvent("CinematicModeOn");
    }

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:1031

    for ( ; ( (autoC64C1294_ai >= 0 && lv_itPlayer <= autoC64C1294_ae) || (autoC64C1294_ai < 0 && lv_itPlayer >= autoC64C1294_ae) ) ; lv_itPlayer += autoC64C1294_ai ) {
        if ((libGame_gf_TeamNumberOfPlayer(UnitGetOwner(UnitLastCreated())) == libGame_gf_TeamNumberOfPlayer(lv_itPlayer)) && (UnitHasBehavior2(libGame_gv_players[lv_itPlayer].lv_heroUnit, "HealingFountainCooldown") == true)) {
            UIFlyerHelperOverride(PlayerGroupSingle(lv_itPlayer), libNtve_ge_FlyerHelperDisplay_c_flyerDisplayAll);
            libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "Signal MoonwellDrink");
            UnitGroupAdd(libGame_gv_moonwellTextTagsUnitGroup[lv_itPlayer], UnitLastCreated());

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:1031

    for ( ; ( (autoC64C1294_ai >= 0 && lv_itPlayer <= autoC64C1294_ae) || (autoC64C1294_ai < 0 && lv_itPlayer >= autoC64C1294_ae) ) ; lv_itPlayer += autoC64C1294_ai ) {
        if ((libGame_gf_TeamNumberOfPlayer(UnitGetOwner(UnitLastCreated())) == libGame_gf_TeamNumberOfPlayer(lv_itPlayer)) && (UnitHasBehavior2(libGame_gv_players[lv_itPlayer].lv_heroUnit, "HealingFountainCooldown") == true)) {
            UIFlyerHelperOverride(PlayerGroupSingle(lv_itPlayer), libNtve_ge_FlyerHelperDisplay_c_flyerDisplayAll);
            libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "Signal MoonwellDrink");
            UnitGroupAdd(libGame_gv_moonwellTextTagsUnitGroup[lv_itPlayer], UnitLastCreated());

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:18393

    }

    UIFlyerHelperOverride(PlayerGroupAll(), libNtve_ge_FlyerHelperDisplay_c_flyerDisplayNone);
    if ((EventUnitBehaviorChange() == c_unitBehaviorChangeActivate)) {
        libGame_gv_moonwellMoonwellonCooldown[UnitGetOwner(EventUnit())] = true;

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:18396

    if ((EventUnitBehaviorChange() == c_unitBehaviorChangeActivate)) {
        libGame_gv_moonwellMoonwellonCooldown[UnitGetOwner(EventUnit())] = true;
        UIFlyerHelperOverride(PlayerGroupSingle(UnitGetOwner(EventUnit())), libNtve_ge_FlyerHelperDisplay_c_flyerDisplayAll);
        if (((UnitGetOwner(EventUnit()) < 1) || (UnitGetOwner(EventUnit()) > libCore_gv_bALMaxPlayers))) {
            TextExpressionSetToken("Param/Expression/lib_Game_8CA366B7", "A", IntToText(UnitGetOwner(EventUnit())));

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:18424

        if ((EventUnitBehaviorChange() == c_unitBehaviorChangeDeactivate)) {
            libGame_gv_moonwellMoonwellonCooldown[UnitGetOwner(EventUnit())] = false;
            UIFlyerHelperOverride(PlayerGroupSingle(UnitGetOwner(EventUnit())), libNtve_ge_FlyerHelperDisplay_c_flyerDisplayAll);
            auto449DA977_g = libGame_gv_moonwellTextTagsUnitGroup[UnitGetOwner(EventUnit())];
            auto449DA977_u = UnitGroupCount(auto449DA977_g, c_unitCountAll);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:2609


    }
    UIFlyerHelperOverride(PlayerGroupSingle(lp_player), libNtve_ge_FlyerHelperDisplay_c_flyerDisplayAll);
    autoDB72DD1B_var = 1;
    for ( ; autoDB72DD1B_var <= autoDB72DD1B_ae; autoDB72DD1B_var += 1 ) {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:12414

        }
    }
    UIFlyerHelperOverride(PlayerGroupAll(), libNtve_ge_FlyerHelperDisplay_c_flyerDisplayAll);
    autoD1EC9F11_g = libNtve_gf_UnitsInRegionWithAllianceToPlayerMatchingCondition("TownMoonwell", "TownMoonwellL2", "TownMoonwellL3", UnitGetOwner(EventUnit()), c_unitAllianceAlly, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterPlayer) | (1 << c_targetFilterNeutral) | (1 << c_targetFilterEnemy) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoD1EC9F11_u = UnitGroupCount(autoD1EC9F11_g, c_unitCountAll);

mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmodbase.stormdata/LibMTOD.galaxy:648

    libGame_gf_TownAddStructureToTownArray(lp_townNum, UnitLastCreated(), libGame_gf_TownGetTownStructurePresetFromUnit(UnitLastCreated()), lv_enemyTeam);
    if ((libGame_gf_TownGetTownStructurePresetFromUnit(UnitLastCreated()) == libGame_ge_TownStructureTypes_Moonwell)) {
        UIFlyerHelperOverride(PlayerGroupAll(), libNtve_ge_FlyerHelperDisplay_c_flyerDisplayNone);
        lv_itPlayer = 1;
        for ( ; ( (auto9A21C160_ai >= 0 && lv_itPlayer <= auto9A21C160_ae) || (auto9A21C160_ai < 0 && lv_itPlayer >= auto9A21C160_ae) ) ; lv_itPlayer += auto9A21C160_ai ) {

mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmodbase.stormdata/LibMTOD.galaxy:652

        for ( ; ( (auto9A21C160_ai >= 0 && lv_itPlayer <= auto9A21C160_ae) || (auto9A21C160_ai < 0 && lv_itPlayer >= auto9A21C160_ae) ) ; lv_itPlayer += auto9A21C160_ai ) {
            if ((libGame_gf_TeamNumberOfPlayer(UnitGetOwner(UnitLastCreated())) == libGame_gf_TeamNumberOfPlayer(lv_itPlayer)) && (UnitHasBehavior2(libGame_gv_players[lv_itPlayer].lv_heroUnit, "HealingFountainCooldown") == true)) {
                UIFlyerHelperOverride(PlayerGroupSingle(lv_itPlayer), libNtve_ge_FlyerHelperDisplay_c_flyerDisplayAll);
                libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "Signal MoonwellDrink");
                UnitGroupAdd(libGame_gv_moonwellTextTagsUnitGroup[lv_itPlayer], UnitLastCreated());

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:803

        PlayerScoreValueEnableAll(lv_pickedPlayer, false);
    }
    UIFlyerHelperOverride(lv_validPlayers, libNtve_ge_FlyerHelperDisplay_c_flyerDisplayNone);
    TriggerSendEvent("CinematicModeOn");
}