# Dialog Item Send Animation Event 2

Grammar — Set animationStateName|animation state with eventName|event name on dialog item dialogItem for players
FlagsNative | Action | Restricted

Sets the current event for the animation state using event name. StateGroup can listen to these animation states to switch state using When condition.

# Arguments

  • int<control> — Dialog Item
  • playergroup — Players
  • string — Event
  • string — Event 2

Returns — void

native void DialogControlSetAnimationState(
	int control,
	playergroup players,
	string animationStateName,
	string eventName,
);

Category: Dialog / Dialog Item Tools

# Examples

mods/heroesbrawlmods/arenamodemods/arenamode.stormmodbase.stormdata/LibAREN.galaxy:1335

    lv_itTeam = 1;
    for ( ; ( (auto1DE2EE1B_ai >= 0 && lv_itTeam <= auto1DE2EE1B_ae) || (auto1DE2EE1B_ai < 0 && lv_itTeam >= auto1DE2EE1B_ae) ) ; lv_itTeam += auto1DE2EE1B_ai ) {
        DialogControlSetAnimationState(libUIUI_gv_uIGameUIHandles.lv_gameUIContainer, libGame_gv_teams[lv_itTeam].lv_teamPlayerGroupNoNPCPlayers, "TeamColors", ("Team" + IntToString(lv_itTeam) + "IsBlue"));
    }
    DialogControlSetVisible(libUIUI_gv_uIPartyFrame.lv_teamLevelInfoPanel[libGame_gv_teamOrderIndex_C], PlayerGroupAll(), false);

mods/heroesbrawlmods/arenamodemods/arenamode.stormmodbase.stormdata/LibAREN.galaxy:1384

        for ( ; ( (autoF85E259F_ai >= 0 && lv_itImage <= autoF85E259F_ae) || (autoF85E259F_ai < 0 && lv_itImage >= autoF85E259F_ae) ) ; lv_itImage += autoF85E259F_ai ) {
            if ((libAREN_gv_aRM_ScoreAtRoundStart[lv_itTeam] >= lv_itImage)) {
                DialogControlSetAnimationState(lv_dialogItem[lv_itTeam][(((lv_itImage+1)%libAREN_gv_victoriesCount)+1)], PlayerGroupAll(), "RoundVictory", "On");
            }
            else {

mods/heroesbrawlmods/arenamodemods/arenamode.stormmodbase.stormdata/LibAREN.galaxy:1387

            }
            else {
                DialogControlSetAnimationState(lv_dialogItem[lv_itTeam][(((lv_itImage+1)%libAREN_gv_victoriesCount)+1)], PlayerGroupAll(), "RoundVictory", "Off");
            }
        }

mods/heroesbrawlmods/arenamodemods/attackdefend.stormmodbase.stormdata/LibAtDe.galaxy:922

            }
        }
        DialogControlSetAnimationState(libUIUI_gv_uIGameUIHandles.lv_gameUIContainer, libGame_gv_teams[lv_itTeam].lv_teamPlayerGroupNoNPCPlayers, "TeamColors", ("Team" + IntToString(lv_itTeam) + "IsBlue"));
    }
    libAtDe_gf_AtDe_UI_TeamScoreUpdate();

mods/heroesbrawlmods/arenamodemods/templearena.stormmodbase.stormdata/LibAMCT.galaxy:1217

        DialogControlSetVisible(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleEnabledImage[lp_templeIndex], PlayerGroupAll(), true);
        if ((libGame_gf_CapturePointCounter(libAMCT_gv_aRMSkyTemple[lp_templeIndex].lv_beaconIndex) == 0)) {
            DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], PlayerGroupAll(), "ArrowUpState", "On");
            DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], PlayerGroupAll(), "ArrowDownState", "On");
        }

mods/heroesbrawlmods/arenamodemods/templearena.stormmodbase.stormdata/LibAMCT.galaxy:1218

        if ((libGame_gf_CapturePointCounter(libAMCT_gv_aRMSkyTemple[lp_templeIndex].lv_beaconIndex) == 0)) {
            DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], PlayerGroupAll(), "ArrowUpState", "On");
            DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], PlayerGroupAll(), "ArrowDownState", "On");
        }

mods/heroesbrawlmods/arenamodemods/templearena.stormmodbase.stormdata/LibAMCT.galaxy:1227

        DialogControlSetVisible(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleBGImageBlue[lp_templeIndex], PlayerGroupAll(), false);
        DialogControlSetVisible(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleBGImageRed[lp_templeIndex], PlayerGroupAll(), false);
        DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], PlayerGroupAll(), "ArrowUpState", "Off");
        DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], PlayerGroupAll(), "ArrowDownState", "Off");
    }

mods/heroesbrawlmods/arenamodemods/templearena.stormmodbase.stormdata/LibAMCT.galaxy:1228

        DialogControlSetVisible(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleBGImageRed[lp_templeIndex], PlayerGroupAll(), false);
        DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], PlayerGroupAll(), "ArrowUpState", "Off");
        DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], PlayerGroupAll(), "ArrowDownState", "Off");
    }
}

mods/heroesbrawlmods/arenamodemods/templearena.stormmodbase.stormdata/LibAMCT.galaxy:1355

    lv_enemyTeam = libGame_gf_EnemyTeam(lp_team);
    if ((lp_progress > 0.9)) {
        DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], libGame_gf_PlayersOnTeamHeroes(lp_team, false), "ArrowUpState", "Blue");
        DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], libGame_gf_PlayersOnTeamHeroes(lv_enemyTeam, false), "ArrowUpState", "Red");
    }

mods/heroesbrawlmods/arenamodemods/templearena.stormmodbase.stormdata/LibAMCT.galaxy:1356

    if ((lp_progress > 0.9)) {
        DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], libGame_gf_PlayersOnTeamHeroes(lp_team, false), "ArrowUpState", "Blue");
        DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], libGame_gf_PlayersOnTeamHeroes(lv_enemyTeam, false), "ArrowUpState", "Red");
    }
    else {

mods/heroesbrawlmods/arenamodemods/templearena.stormmodbase.stormdata/LibAMCT.galaxy:1359

    }
    else {
        DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], PlayerGroupAll(), "ArrowUpState", "On");
    }
    if ((lp_progress > 0.1)) {

mods/heroesbrawlmods/arenamodemods/templearena.stormmodbase.stormdata/LibAMCT.galaxy:1362

    }
    if ((lp_progress > 0.1)) {
        DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], libGame_gf_PlayersOnTeamHeroes(lp_team, false), "ArrowDownState", "Blue");
        DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], libGame_gf_PlayersOnTeamHeroes(lv_enemyTeam, false), "ArrowDownState", "Red");
    }

mods/heroesbrawlmods/arenamodemods/templearena.stormmodbase.stormdata/LibAMCT.galaxy:1363

    if ((lp_progress > 0.1)) {
        DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], libGame_gf_PlayersOnTeamHeroes(lp_team, false), "ArrowDownState", "Blue");
        DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], libGame_gf_PlayersOnTeamHeroes(lv_enemyTeam, false), "ArrowDownState", "Red");
    }
    else {

mods/heroesbrawlmods/arenamodemods/templearena.stormmodbase.stormdata/LibAMCT.galaxy:1366

    }
    else {
        DialogControlSetAnimationState(libAMCT_gv_mMCapturePointsPanel.lv_capturePointsTempleFireEffect2[lp_templeIndex], PlayerGroupAll(), "ArrowDownState", "On");
    }
}

mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmodbase.stormdata/LibAMVS.galaxy:2121

    libAMVS_gv_currentEvent = libAMVS_gf_GetNewEvent();
    libNtve_gf_SendActorMessageToGameRegion(RegionEntireMap(), "AnimSetPausedAll 0");
    DialogControlSetAnimationState(libAMVS_gv_trGr_UI.lv_helpTextLabel, PlayerGroupAll(), "Team", "0");
    DialogControlSetVisible(libAMVS_gv_trGr_UI.lv_helpTextLabel, PlayerGroupAll(), false);
    DialogControlSetVisible(libAMVS_gv_mMBOEPanel.lv_mainPanel, PlayerGroupAll(), false);

mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmodbase.stormdata/LibAMVS.galaxy:2743

    UnitRemove(EventPlayerEffectUsedUnit(c_effectUnitCaster));
    UnitBehaviorAdd(libAMVS_gv_arti.lv_holder, "HasArtifact", libAMVS_gv_arti.lv_holder, 1);
    DialogControlSetAnimationState(libAMVS_gv_trGr_UI.lv_helpTextLabel, PlayerGroupAll(), "Team", IntToString(libAMVS_gv_arti.lv_team));
    TextExpressionSetToken("Param/Expression/lib_AMVS_C1D8C782", "A", PlayerName(libAMVS_gv_arti.lv_player));
    libNtve_gf_SetDialogItemText(libAMVS_gv_trGr_UI.lv_helpTextLabel, TextExpressionAssemble("Param/Expression/lib_AMVS_C1D8C782"), PlayerGroupAll());

mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmodbase.stormdata/LibAMVS.galaxy:2798

    UnitBehaviorAdd(libAMVS_gv_arti.lv_holder, "TrGrReveal", libAMVS_gv_aRM_TrialGrounds.lv_dummyUnitToRunDamageInstancesFrom[libGame_gf_EnemyTeam(libAMVS_gv_arti.lv_team)], 1);
    AddUnitOfInterest(libAMVS_gv_arti.lv_holder, 500.0, 0.0, "KillHeroCritical", libAIAI_gf_ConvertIntegertoGoalTeam(libGame_gf_EnemyTeam(libAMVS_gv_arti.lv_team)), 0);
    DialogControlSetAnimationState(libAMVS_gv_trGr_UI.lv_helpTextLabel, PlayerGroupAll(), "Team", IntToString(libAMVS_gv_arti.lv_team));
    TextExpressionSetToken("Param/Expression/lib_AMVS_ADCF2D30", "A", PlayerName(libAMVS_gv_arti.lv_player));
    libNtve_gf_SetDialogItemText(libAMVS_gv_trGr_UI.lv_helpTextLabel, TextExpressionAssemble("Param/Expression/lib_AMVS_ADCF2D30"), PlayerGroupAll());

mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmodbase.stormdata/LibMDoE.galaxy:1242


    // Implementation
    DialogControlSetAnimationState(libUIUI_gv_uIGameUIHandles.lv_gameUIContainer, PlayerGroupAll(), "SingleStackCarryBehavior", "True");
    lv_attackTeam = libAtDe_gv_attackDefend.lv_attackingTeam;
    lv_defendTeam = libAtDe_gv_attackDefend.lv_defendingTeam;

mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmodbase.stormdata/LibMDoE.galaxy:1646

            libNtve_gf_SetDialogItemText(libMDoE_gv_mDoeUITopPanel.lv_shotsFiredPanel[libAtDe_gv_attackDefend.lv_defendingTeam], IntToText(libAtDe_gv_attackDefend.lv_score[libAtDe_gv_attackDefend.lv_defendingTeam]), PlayerGroupAll());
            libMDoE_gv_mDoE_Boat[lv_itTeam].lv_life = UnitGetPropertyFixed(libGame_gv_teams[lv_itTeam].lv_core, c_unitPropLife, c_unitPropCurrent);
            DialogControlSetAnimationState(libMDoE_gv_mDoeUITopPanel.lv_scorePanel, PlayerGroupAll(), "ShipDamage", IntToString(libAtDe_gv_attackDefend.lv_score[libAtDe_gv_attackDefend.lv_defendingTeam]));
        }

mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmodbase.stormdata/LibMDoE.galaxy:3703

    libMDoE_gf_DoEsUIUpdateCoreHealth();
    libMDoE_gf_MDoEUIUpdateCannonBarrageShotsRemaining2();
    DialogControlSetAnimationState(libMDoE_gv_mDoeUITopPanel.lv_topNotificationPanel, PlayerGroupAll(), "Round", IntToString(2));
    libMDoE_gv_mDoE_LaunchNumber = 1;
    return true;

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:3767

    TriggerExecute(libPEB1_gt_CleanupStage1, true, false);
    PointSet(PointFromName("Start Location 0012"), PointFromName("Start Location 12 - 2"));
    DialogControlSetAnimationState(libPEB1_gv_pZEMinimap, PlayerGroupAll(), "MaskState", "Part2");
    auto5B65C9A2_g = libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false);
    lv_itPlayerIndex = -1;

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:4070

    DialogControlSetSize(libPEB1_gv_pZEMinimap, PlayerGroupAll(), 330, 330);
    PointSet(PointFromName("Start Location 0012"), PointFromName("Start Location 12 - 3"));
    DialogControlSetAnimationState(libPEB1_gv_pZEMinimap, PlayerGroupAll(), "MaskState", "Part3");
    auto12FEA934_g = libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false);
    lv_itPlayerIndex = -1;

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:8380

    TriggerExecute(libPEB1_gt_CleanupStage1, true, false);
    PointSet(PointFromName("Start Location 0012"), PointFromName("Start Location 12 - 2"));
    DialogControlSetAnimationState(libPEB1_gv_pZEMinimap, PlayerGroupAll(), "MaskState", "Part2");
    auto92C6E5AA_g = libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false);
    lv_itPlayerIndex = -1;

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:9021

    DialogControlSetSize(libPEB1_gv_pZEMinimap, PlayerGroupAll(), 330, 330);
    PointSet(PointFromName("Start Location 0012"), PointFromName("Start Location 12 - 3"));
    DialogControlSetAnimationState(libPEB1_gv_pZEMinimap, PlayerGroupAll(), "MaskState", "Part3");
    auto1A904ED2_g = libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false);
    lv_itPlayerIndex = -1;

mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmodbase.stormdata/LibPEB1.galaxy:11082

    libPEB1_gv_pZEMinimap = DialogControlLastCreated();
    DialogControlHookup(libPEB1_gv_pZEMinimap, c_triggerControlTypeImage, "HoverImage");
    DialogControlSetAnimationState(libPEB1_gv_pZEMinimap, PlayerGroupAll(), "MaskState", "Part1");
    libPVEB_gv_pBGameOverScreenCallback = libPEB1_gt_PZEGameOverScreenCallback;
    TriggerExecute(libPESC_gt_TopBarInit, true, false);

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

            DialogControlHookupMinimapUnitStatus(c_triggerControlTypePanel, "$this", libGame_gv_townTownData[lp_townIndex].lv_structureUnits[auto36FCCF4F_var]);
            if ((libGame_gv_townTownData[lp_townIndex].lv_owner == libCore_gv_cOMPUTER_TeamOrder)) {
                DialogControlSetAnimationState(DialogControlLastCreated(), PlayerGroupAll(), "MoonwellIndicator", "Left");
            }
            else {

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

            }
            else {
                DialogControlSetAnimationState(DialogControlLastCreated(), PlayerGroupAll(), "MoonwellIndicator", "Right");
            }
        }

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

        if ((libGame_gf_TownGetTownStructurePresetFromUnit(libGame_gv_townTownData[lp_townIndex].lv_structureUnits[auto15527A5B_var]) == libGame_ge_TownStructureTypes_TownHall) && (UnitIsAlive(libGame_gv_townTownData[lp_townIndex].lv_structureUnits[auto15527A5B_var]) == true)) {
            DialogControlHookupMinimapUnitStatus(c_triggerControlTypePanel, "$this", libGame_gv_townTownData[lp_townIndex].lv_structureUnits[auto15527A5B_var]);
            DialogControlSetAnimationState(DialogControlLastCreated(), PlayerGroupAll(), "MoonwellIndicator", "None");
        }

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


        if ((lv_orderTeamHeroes > 0) && (lv_chaosTeamHeroes > 0)) {
            DialogControlSetAnimationState(libGame_gv_capturePoints[lv_capturePointIndex].lv_captureProgressBar, PlayerGroupAll(), "IsContested", "Contested");
            autoB759D9BE_val = libGame_gv_capturePoints[lv_capturePointIndex].lv_contestedPointDecay;
            if (autoB759D9BE_val == libGame_ge_CapturePointDecay_DoNotDecay) {

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

        }
        else {
            DialogControlSetAnimationState(libGame_gv_capturePoints[lv_capturePointIndex].lv_captureProgressBar, PlayerGroupAll(), "IsContested", "NotContested");
        }
        if ((lv_orderTeamHeroes > 0) && (lv_chaosTeamHeroes == 0) && (libGame_gv_capturePoints[lv_capturePointIndex].lv_captureCounter < libGame_gv_capturePoints[lv_capturePointIndex].lv_maximumPoints)) {

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

    for ( ; ( (auto9F786313_ai >= 0 && lv_itCapturePointIndex <= auto9F786313_ae) || (auto9F786313_ai < 0 && lv_itCapturePointIndex >= auto9F786313_ae) ) ; lv_itCapturePointIndex += auto9F786313_ai ) {
        if ((EventUnit() == libGame_gv_capturePoints[lv_itCapturePointIndex].lv_captureBeaconUnit)) {
            DialogControlSetAnimationState(libGame_gv_capturePoints[lv_itCapturePointIndex].lv_progressBarDimmingFrame, PlayerGroupAll(), "IsDim", "DimmedOn");
            libNtve_gf_SendActorMessageToUnit(libGame_gv_capturePoints[lv_itCapturePointIndex].lv_captureBeaconUnit, "SetTintColor 35,35,35 0.000000 OneShot VoidPrisonTint");
            libCore_gf_SendActorMessageToDoodadsInRegion("Signal PauseCapturePoint", RegionCircle(UnitGetPosition(libGame_gv_capturePoints[lv_itCapturePointIndex].lv_captureBeaconUnit), 12.0), null);

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

    for ( ; ( (autoDE5B5F2A_ai >= 0 && lv_itCapturePointIndex <= autoDE5B5F2A_ae) || (autoDE5B5F2A_ai < 0 && lv_itCapturePointIndex >= autoDE5B5F2A_ae) ) ; lv_itCapturePointIndex += autoDE5B5F2A_ai ) {
        if ((EventUnit() == libGame_gv_capturePoints[lv_itCapturePointIndex].lv_captureBeaconUnit)) {
            DialogControlSetAnimationState(libGame_gv_capturePoints[lv_itCapturePointIndex].lv_progressBarDimmingFrame, PlayerGroupAll(), "IsDim", "DimmedOff");
            libNtve_gf_SendActorMessageToUnit(libGame_gv_capturePoints[lv_itCapturePointIndex].lv_captureBeaconUnit, "ClearTintColor 0.000000 VoidPrisonTint");
            libCore_gf_SendActorMessageToDoodadsInRegion("Signal UnPauseCapturePoint", RegionCircle(UnitGetPosition(libGame_gv_capturePoints[lv_itCapturePointIndex].lv_captureBeaconUnit), 12.0), null);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1056

    }
    if ((libMapM_gv_dataJungleCampDefenderData[lv_defenderType].lv_campIsElite == true)) {
        DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel2[lp_camp], PlayerGroupAll(), "CampEliteStatus", "CampIsElite");
    }
    else {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1059

    }
    else {
        DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel2[lp_camp], PlayerGroupAll(), "CampEliteStatus", "CampNotElite");
    }
    if (((libMapM_gv_jungleCreepCamps[lp_camp].lv_capturingPlayer >= 1) && (libMapM_gv_jungleCreepCamps[lp_camp].lv_capturingPlayer <= libCore_gv_bALMaxPlayers))) {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1093

    if (((libMapM_gv_jungleCreepCamps[lp_camp].lv_capturingPlayer >= 1) && (libMapM_gv_jungleCreepCamps[lp_camp].lv_capturingPlayer <= libCore_gv_bALMaxPlayers))) {
        if ((libGame_gf_TeamNumberOfPlayer(libMapM_gv_jungleCreepCamps[lp_camp].lv_capturingPlayer) == libGame_gv_teamOrderIndex_C)) {
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false), "TeamCaptured", "BlueTeam");
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamChaosIndex_C, false), "TeamCaptured", "RedTeam");
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], PlayerGroupSingle(libCore_gv_oBSERVER_ObserverUIPlayer), "TeamCaptured", "BlueTeam");

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1094

        if ((libGame_gf_TeamNumberOfPlayer(libMapM_gv_jungleCreepCamps[lp_camp].lv_capturingPlayer) == libGame_gv_teamOrderIndex_C)) {
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false), "TeamCaptured", "BlueTeam");
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamChaosIndex_C, false), "TeamCaptured", "RedTeam");
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], PlayerGroupSingle(libCore_gv_oBSERVER_ObserverUIPlayer), "TeamCaptured", "BlueTeam");
        }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1095

            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false), "TeamCaptured", "BlueTeam");
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamChaosIndex_C, false), "TeamCaptured", "RedTeam");
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], PlayerGroupSingle(libCore_gv_oBSERVER_ObserverUIPlayer), "TeamCaptured", "BlueTeam");
        }
        else {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1098

        }
        else {
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false), "TeamCaptured", "RedTeam");
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamChaosIndex_C, false), "TeamCaptured", "BlueTeam");
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], PlayerGroupSingle(libCore_gv_oBSERVER_ObserverUIPlayer), "TeamCaptured", "RedTeam");

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1099

        else {
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false), "TeamCaptured", "RedTeam");
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamChaosIndex_C, false), "TeamCaptured", "BlueTeam");
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], PlayerGroupSingle(libCore_gv_oBSERVER_ObserverUIPlayer), "TeamCaptured", "RedTeam");
        }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1100

            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false), "TeamCaptured", "RedTeam");
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamChaosIndex_C, false), "TeamCaptured", "BlueTeam");
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], PlayerGroupSingle(libCore_gv_oBSERVER_ObserverUIPlayer), "TeamCaptured", "RedTeam");
        }
        if ((TimerGetRemaining(libMapM_gv_jungleCreepCamps[lp_camp].lv_stateCreepRespawnTimer) > 0.0)) {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1103

        }
        if ((TimerGetRemaining(libMapM_gv_jungleCreepCamps[lp_camp].lv_stateCreepRespawnTimer) > 0.0)) {
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfo_Label_Description[lp_camp], PlayerGroupAll(), "ShowHideDescription", "HideDesc");
        }
        else {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/MapMechanicsLib.galaxy:1106

        }
        else {
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfo_Label_Description[lp_camp], PlayerGroupAll(), "ShowHideDescription", "ShowDesc");
            DialogControlSetAnimationState(libMapM_gv_uIJungleCampPanel.lv_jungleCreepCampsInfoPanel[lp_camp], PlayerGroupAll(), "TeamCaptured", "CapturedReset");
        }

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

                DialogControlSetSize(libUIUI_gv_deathRecap_Panel.lv_abilitiesPanelHealingBars[lv_itEffect], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], libUIUI_gv_deathRecap_DamageTakenPanelBarWidth_C, lv_effectBarSize);
                DialogControlSetSize(libUIUI_gv_deathRecap_Panel.lv_abilitiesPanelHealthBars[lv_itEffect], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], libUIUI_gv_deathRecap_DamageTakenPanelBarWidth_C, lv_healthBarSize);
                DialogControlSetAnimationState(libUIUI_gv_deathRecap_Panel.lv_abilitiesPanelTimeZone[lv_itEffect], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], "DamageHealState", "Heal");
            }
            else {

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

                DialogControlSetSize(libUIUI_gv_deathRecap_Panel.lv_abilitiesPanelDamageBars[lv_itEffect], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], libUIUI_gv_deathRecap_DamageTakenPanelBarWidth_C, lv_effectBarSize);
                DialogControlSetSize(libUIUI_gv_deathRecap_Panel.lv_abilitiesPanelHealthBars[lv_itEffect], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], libUIUI_gv_deathRecap_DamageTakenPanelBarWidth_C, lv_healthBarSize);
                DialogControlSetAnimationState(libUIUI_gv_deathRecap_Panel.lv_abilitiesPanelTimeZone[lv_itEffect], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], "DamageHealState", "Damage");
            }
        }

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

                DialogControlSetSize(libUIUI_gv_deathRecap_Panel.lv_abilitiesPanelHealingBars[lv_itEffect], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], libUIUI_gv_deathRecap_DamageTakenPanelBarWidth_C, lv_effectBarSize);
                DialogControlSetSize(libUIUI_gv_deathRecap_Panel.lv_abilitiesPanelHealthBars[lv_itEffect], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], libUIUI_gv_deathRecap_DamageTakenPanelBarWidth_C, lv_healthBarSize);
                DialogControlSetAnimationState(libUIUI_gv_deathRecap_Panel.lv_abilitiesPanelTimeZone[lv_itEffect], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], "DamageHealState", "Heal");
            }
            else {

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

                DialogControlSetSize(libUIUI_gv_deathRecap_Panel.lv_abilitiesPanelDamageBars[lv_itEffect], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], libUIUI_gv_deathRecap_DamageTakenPanelBarWidth_C, lv_effectBarSize);
                DialogControlSetSize(libUIUI_gv_deathRecap_Panel.lv_abilitiesPanelHealthBars[lv_itEffect], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], libUIUI_gv_deathRecap_DamageTakenPanelBarWidth_C, lv_healthBarSize);
                DialogControlSetAnimationState(libUIUI_gv_deathRecap_Panel.lv_abilitiesPanelTimeZone[lv_itEffect], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], "DamageHealState", "Damage");
            }
        }

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

    lv_itEffect = (libGame_gv_deathRecap_DeathData[lp_deadPlayer].lv_effectBarCount + 1);
    for ( ; ( (auto1087E968_ai >= 0 && lv_itEffect <= auto1087E968_ae) || (auto1087E968_ai < 0 && lv_itEffect >= auto1087E968_ae) ) ; lv_itEffect += auto1087E968_ai ) {
        DialogControlSetAnimationState(libUIUI_gv_deathRecap_Panel.lv_abilitiesPanelTimeZone[lv_itEffect], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], "DamageHealState", "NoData");
    }
}

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

        libNtve_gf_SetDialogItemTooltip(libUIUI_gv_deathRecap_Panel.lv_abilitiesPanelTooltipFrame[lv_itEffect], lv_effectTooltipText, libCore_gv_playerGroupFromPlayer[lp_deadPlayer]);
        if ((lv_itEffect == 1)) {
            DialogControlSetAnimationState(libUIUI_gv_deathRecap_Panel.lv_abilitiesPanelTimeZone[lv_itEffect], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], "KillingBlowState", "IsKillingBlow");
        }
        else {

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

            if ((PlayerType(libGame_gv_deathRecap_DeathData[lp_deadPlayer].lv_highestDamagers[lv_itHighestDamager].lv_player) == c_playerTypeUser)) {
                libNtve_gf_SetDialogItemText(libUIUI_gv_deathRecap_Panel.lv_highestDamagersPlayerNameLabels[lv_itHighestDamager], PlayerName(libGame_gv_deathRecap_DeathData[lp_deadPlayer].lv_highestDamagers[lv_itHighestDamager].lv_player), libCore_gv_playerGroupFromPlayer[lp_deadPlayer]);
                DialogControlSetAnimationState(libUIUI_gv_deathRecap_Panel.lv_highestDamagersAmountLabels[lv_itHighestDamager], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], "HighestDamagerState", "Player");
                if ((libGame_gv_deathRecap_DeathData[lp_deadPlayer].lv_highestDamagers[lv_itHighestDamager].lv_heroIndex == libCore_gf_GetIndexFromHero("LostVikings"))) {
                    libNtve_gf_SetDialogItemText(libUIUI_gv_deathRecap_Panel.lv_highestDamagersHeroNameLabels[lv_itHighestDamager], StringExternal("Hero/Name/LostVikings"), libCore_gv_playerGroupFromPlayer[lp_deadPlayer]);

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

            }
            else {
                DialogControlSetAnimationState(libUIUI_gv_deathRecap_Panel.lv_highestDamagersAmountLabels[lv_itHighestDamager], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], "HighestDamagerState", "AI");
                if ((libGame_gv_deathRecap_DeathData[lp_deadPlayer].lv_highestDamagers[lv_itHighestDamager].lv_heroIndex == libCore_gf_GetIndexFromHero("LostVikings"))) {
                    libNtve_gf_SetDialogItemText(libUIUI_gv_deathRecap_Panel.lv_highestDamagersHeroNameLabels[lv_itHighestDamager], StringExternal("Hero/Name/LostVikings"), libCore_gv_playerGroupFromPlayer[lp_deadPlayer]);

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

            libNtve_gf_SetDialogItemImage(libUIUI_gv_deathRecap_Panel.lv_highestDamagersImages[lv_itHighestDamager], "Assets\\Textures\\storm_ui_icon_deathrecap_npc_unit.dds", libCore_gv_playerGroupFromPlayer[lp_deadPlayer]);
            libNtve_gf_SetDialogItemText(libUIUI_gv_deathRecap_Panel.lv_highestDamagersHeroNameLabels[lv_itHighestDamager], StringExternal("Param/Value/lib_UIUI_86B48C2D"), libCore_gv_playerGroupFromPlayer[lp_deadPlayer]);
            DialogControlSetAnimationState(libUIUI_gv_deathRecap_Panel.lv_highestDamagersAmountLabels[lv_itHighestDamager], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], "HighestDamagerState", "NPC");
        }
        lv_itHighestDamagerAbilities = 1;

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

    lv_itHighestDamager = (libGame_gv_deathRecap_DeathData[lp_deadPlayer].lv_highestDamagersCount + 1);
    for ( ; ( (auto41B23CF7_ai >= 0 && lv_itHighestDamager <= auto41B23CF7_ae) || (auto41B23CF7_ai < 0 && lv_itHighestDamager >= auto41B23CF7_ae) ) ; lv_itHighestDamager += auto41B23CF7_ai ) {
        DialogControlSetAnimationState(libUIUI_gv_deathRecap_Panel.lv_highestDamagersAmountLabels[lv_itHighestDamager], libCore_gv_playerGroupFromPlayer[lp_deadPlayer], "HighestDamagerState", "NoData");
    }
}

mods/heroesmapmods/battlegroundmapmods/alteracpass.stormmodbase.stormdata/LibMMAP.galaxy:724

    DialogControlSendAnimationEvent(libMMAP_gv_aVUI.lv_victoryProgressBar[libMMAP_ge_AVUIProgressBars_Top], libGame_gf_PlayersOnTeamHeroes(lp_losingTeam, false), "Hide");
    DialogControlSendAnimationEvent(libMMAP_gv_aVUI.lv_mMContainer, PlayerGroupAll(), "MechanicDone");
    DialogControlSetAnimationState(libMMAP_gv_aVUI.lv_mMContainer, PlayerGroupAll(), "TeamWins", IntToString(lp_winningTeam));
    libMMAP_gv_aVMechanics[lp_winningTeam].lv_eventsWon += 1;
    if ((libMMAP_gv_captureFlagVictoryTimeGoal != libMMAP_gv_captureFlagVictoryTimeGoalMax_C)) {

mods/heroesmapmods/battlegroundmapmods/alteracpass.stormmodbase.stormdata/LibMMAP.galaxy:963

    libMMAP_gf_RestartEventTimers();
    Wait(5.0, c_timeGame);
    DialogControlSetAnimationState(libMMAP_gv_aVUI.lv_mMContainer, PlayerGroupAll(), "TeamWins", IntToString(libCore_gv_cOMPUTER_Neutral));
    DialogControlSendAnimationEvent(libMMAP_gv_aVUI.lv_mMContainer, PlayerGroupAll(), "Hide");
    return true;

mods/heroesmapmods/battlegroundmapmods/alteracpass.stormmodbase.stormdata/LibMMAP.galaxy:1096

    // Implementation
    if ((lp_team != libCore_gv_cOMPUTER_Neutral)) {
        DialogControlSetAnimationState(libMMAP_gv_aVUI.lv_mMContainer, PlayerGroupAll(), "TeamWinningCage", IntToString(libGame_gf_ComputerPlayerInTeam(lp_team)));
    }
    else {

mods/heroesmapmods/battlegroundmapmods/alteracpass.stormmodbase.stormdata/LibMMAP.galaxy:1099

    }
    else {
        DialogControlSetAnimationState(libMMAP_gv_aVUI.lv_mMContainer, PlayerGroupAll(), "TeamWinningCage", "00");
    }
}

mods/heroesmapmods/battlegroundmapmods/alteracpass.stormmodbase.stormdata/LibMMAP.galaxy:1135

        PlayerGroupAdd(lv_enemyTeamPlayerGroup, libCore_gv_cOMPUTER_Neutral);
    }
    DialogControlSetAnimationState(libMMAP_gv_aVUI.lv_mMContainer, lv_teamPlayerGroup, "TopBarCaptured", (lv_isCapturing + lv_isContested));
    DialogControlSetAnimationState(libMMAP_gv_aVUI.lv_mMContainer, lv_enemyTeamPlayerGroup, "BottomBarCaptured", (lv_isCapturing + lv_isContested));
}

mods/heroesmapmods/battlegroundmapmods/alteracpass.stormmodbase.stormdata/LibMMAP.galaxy:1136

    }
    DialogControlSetAnimationState(libMMAP_gv_aVUI.lv_mMContainer, lv_teamPlayerGroup, "TopBarCaptured", (lv_isCapturing + lv_isContested));
    DialogControlSetAnimationState(libMMAP_gv_aVUI.lv_mMContainer, lv_enemyTeamPlayerGroup, "BottomBarCaptured", (lv_isCapturing + lv_isContested));
}

mods/heroesmapmods/battlegroundmapmods/alteracpass.stormmodbase.stormdata/LibMMAP.galaxy:1189

        libNtve_gf_SetDialogItemText(libMMAP_gv_aVUI.lv_notificationLabel[lv_notificationIndex], StringExternal("Param/Value/lib_MMAP_40A4464B"), lv_enemyTeamOfCapturePlayerGroup);
    }
    DialogControlSetAnimationState(libMMAP_gv_aVUI.lv_notificationFrame[lv_notificationIndex], PlayerGroupAll(), "EventID", (IntToString(lp_teamOfCaptor) + IntToString(lp_teamOfCapturedFlag)));
    DialogControlSendAnimationEvent(libMMAP_gv_aVUI.lv_notificationFrame[lv_notificationIndex], PlayerGroupAll(), "Show");
    Wait((lp_duration - lv_hideAnimationDuration_c), c_timeGame);

mods/heroesmapmods/battlegroundmapmods/blackheartsbay.stormmodbase.stormdata/LibBBAY.galaxy:824

    lv_orderRequiredCount = (libBBAY_gv_mMBBCannonballsBallsSubmitMaxCurrent[libGame_gv_teamOrderIndex_C]-libBBAY_gv_mMBBCannonballsBallsSubmitted[libGame_gv_teamOrderIndex_C]);
    if ((lv_orderRequiredCount <= lv_orderCount)) {
        DialogControlSetAnimationState(libUIUI_gv_mapMechanicsPanel.lv_blackheartsBayDoubloonTurninReadyGlow[libGame_gv_teamOrderIndex_C], PlayerGroupAll(), "TurninReady", "IsReady");
        DialogControlSendAnimationEvent(libUIUI_gv_mapMechanicsPanel.lv_blackheartsBayDoubloonTurninReadyGlow[libGame_gv_teamOrderIndex_C], PlayerGroupAll(), "TurninReadyAnim");
        UnitSetTokenCount(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_core, "AIMapTokenMapEventCarriedPotentialisSufficient", 1.0, libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_core);

mods/heroesmapmods/battlegroundmapmods/blackheartsbay.stormmodbase.stormdata/LibBBAY.galaxy:830

    else {
        UnitSetTokenCount(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_core, "AIMapTokenMapEventCarriedPotentialisSufficient", 0.0, libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_core);
        DialogControlSetAnimationState(libUIUI_gv_mapMechanicsPanel.lv_blackheartsBayDoubloonTurninReadyGlow[libGame_gv_teamOrderIndex_C], PlayerGroupAll(), "TurninReady", "NotReady");
    }
    UnitSetTokenCount(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_core, "AIMapTokenMapEventCarriedPotential", lv_orderCount, libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_core);

mods/heroesmapmods/battlegroundmapmods/blackheartsbay.stormmodbase.stormdata/LibBBAY.galaxy:835

    lv_chaosRequiredCount = (libBBAY_gv_mMBBCannonballsBallsSubmitMaxCurrent[libGame_gv_teamChaosIndex_C]-libBBAY_gv_mMBBCannonballsBallsSubmitted[libGame_gv_teamChaosIndex_C]);
    if ((lv_chaosRequiredCount <= lv_chaosCount)) {
        DialogControlSetAnimationState(libUIUI_gv_mapMechanicsPanel.lv_blackheartsBayDoubloonTurninReadyGlow[libGame_gv_teamChaosIndex_C], PlayerGroupAll(), "TurninReady", "IsReady");
        DialogControlSendAnimationEvent(libUIUI_gv_mapMechanicsPanel.lv_blackheartsBayDoubloonTurninReadyGlow[libGame_gv_teamChaosIndex_C], PlayerGroupAll(), "TurninReadyAnim");
        UnitSetTokenCount(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_core, "AIMapTokenMapEventCarriedPotentialisSufficient", 1.0, libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_core);

mods/heroesmapmods/battlegroundmapmods/blackheartsbay.stormmodbase.stormdata/LibBBAY.galaxy:840

    }
    else {
        DialogControlSetAnimationState(libUIUI_gv_mapMechanicsPanel.lv_blackheartsBayDoubloonTurninReadyGlow[libGame_gv_teamChaosIndex_C], PlayerGroupAll(), "TurninReady", "NotReady");
        UnitSetTokenCount(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_core, "AIMapTokenMapEventCarriedPotentialisSufficient", 0.0, libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_core);
    }

mods/heroesmapmods/battlegroundmapmods/hanamura.stormmodbase.stormdata/LibNPLD.galaxy:99

    libNtve_gf_SetDialogItemUnit(libNPLD_gv_hanamura.lv_unitStatusBar_New, UnitLastCreated(), PlayerGroupAll());
    DialogControlSetVisible(libNPLD_gv_hanamura.lv_payloadPanel_ActivePayloadStatus, PlayerGroupAll(), true);
    DialogControlSetAnimationState(libNPLD_gv_hanamura.lv_payloadPanel_ActivePayloadStatus, PlayerGroupAll(), "OrderPath", IntToString(libNPLD_gv_neutralPayload.lv_pathIndex_Team[libGame_gv_teamOrderIndex_C]));
    DialogControlSetAnimationState(libNPLD_gv_hanamura.lv_payloadPanel_ActivePayloadStatus, PlayerGroupAll(), "ChaosPath", IntToString(libNPLD_gv_neutralPayload.lv_pathIndex_Team[libGame_gv_teamChaosIndex_C]));
    Wait(0.0625, c_timeGame);

mods/heroesmapmods/battlegroundmapmods/hanamura.stormmodbase.stormdata/LibNPLD.galaxy:100

    DialogControlSetVisible(libNPLD_gv_hanamura.lv_payloadPanel_ActivePayloadStatus, PlayerGroupAll(), true);
    DialogControlSetAnimationState(libNPLD_gv_hanamura.lv_payloadPanel_ActivePayloadStatus, PlayerGroupAll(), "OrderPath", IntToString(libNPLD_gv_neutralPayload.lv_pathIndex_Team[libGame_gv_teamOrderIndex_C]));
    DialogControlSetAnimationState(libNPLD_gv_hanamura.lv_payloadPanel_ActivePayloadStatus, PlayerGroupAll(), "ChaosPath", IntToString(libNPLD_gv_neutralPayload.lv_pathIndex_Team[libGame_gv_teamChaosIndex_C]));
    Wait(0.0625, c_timeGame);
    ActorSend(ActorFrom("::global.PayloadElevatorAttachment"), "Destroy");

mods/heroesmapmods/battlegroundmapmods/skytemple.stormmodbase.stormdata/LibMLCP.galaxy:2030

            DialogControlSetVisible(libMLCP_gv_mMSkyTemplePanelIcons[lv_templeIndex].lv_cooldownLabel, PlayerGroupAll(), false);
            DialogControlSetVisible(libMLCP_gv_mMSkyTemplePanelIcons[lv_templeIndex].lv_fireEffect, PlayerGroupAll(), false);
            DialogControlSetAnimationState(libMLCP_gv_mMSkyTemplePanelIcons[lv_templeIndex].lv_shrineIcon, PlayerGroupAll(), "Ownership", "Order");
        }
    }

mods/heroesmapmods/battlegroundmapmods/skytemple.stormmodbase.stormdata/LibMLCP.galaxy:2067

    // Implementation
    if ((lp_enableDisable == false)) {
        DialogControlSetAnimationState(libMLCP_gv_mMSkyTemplePanelIcons[lp_templeIndex].lv_shrineIcon, PlayerGroupAll(), "Ownership", "Disable");
    }

mods/heroesmapmods/battlegroundmapmods/skytemple.stormmodbase.stormdata/LibMLCP.galaxy:2084

    // Implementation
    if ((lp_team == 0)) {
        DialogControlSetAnimationState(libMLCP_gv_mMSkyTemplePanelIcons[lp_templeIndex].lv_shrineProgress, PlayerGroupAll(), "Ownership", "Neutral");
        return ;
    }

mods/heroesmapmods/battlegroundmapmods/skytemple.stormmodbase.stormdata/LibMLCP.galaxy:2089


    lv_enemyTeam = libGame_gf_EnemyTeam(lp_team);
    DialogControlSetAnimationState(libMLCP_gv_mMSkyTemplePanelIcons[lp_templeIndex].lv_shrineIcon, libGame_gf_PlayersOnTeamHeroes(lp_team, false), "Ownership", "Order");
    DialogControlSetAnimationState(libMLCP_gv_mMSkyTemplePanelIcons[lp_templeIndex].lv_shrineIcon, libGame_gf_PlayersOnTeamHeroes(lv_enemyTeam, false), "Ownership", "Chaos");
    if ((lp_team == libGame_gv_teamOrderIndex_C)) {

mods/heroesmapmods/battlegroundmapmods/skytemple.stormmodbase.stormdata/LibMLCP.galaxy:2090

    lv_enemyTeam = libGame_gf_EnemyTeam(lp_team);
    DialogControlSetAnimationState(libMLCP_gv_mMSkyTemplePanelIcons[lp_templeIndex].lv_shrineIcon, libGame_gf_PlayersOnTeamHeroes(lp_team, false), "Ownership", "Order");
    DialogControlSetAnimationState(libMLCP_gv_mMSkyTemplePanelIcons[lp_templeIndex].lv_shrineIcon, libGame_gf_PlayersOnTeamHeroes(lv_enemyTeam, false), "Ownership", "Chaos");
    if ((lp_team == libGame_gv_teamOrderIndex_C)) {
        DialogControlSetAnimationState(libMLCP_gv_mMSkyTemplePanelIcons[lp_templeIndex].lv_shrineIcon, libCore_gv_playerGroupFromPlayer[libCore_gv_oBSERVER_ObserverUIPlayer], "Ownership", "Order");

mods/heroesmapmods/battlegroundmapmods/skytemple.stormmodbase.stormdata/LibMLCP.galaxy:2092

    DialogControlSetAnimationState(libMLCP_gv_mMSkyTemplePanelIcons[lp_templeIndex].lv_shrineIcon, libGame_gf_PlayersOnTeamHeroes(lv_enemyTeam, false), "Ownership", "Chaos");
    if ((lp_team == libGame_gv_teamOrderIndex_C)) {
        DialogControlSetAnimationState(libMLCP_gv_mMSkyTemplePanelIcons[lp_templeIndex].lv_shrineIcon, libCore_gv_playerGroupFromPlayer[libCore_gv_oBSERVER_ObserverUIPlayer], "Ownership", "Order");
    }
    else {

mods/heroesmapmods/battlegroundmapmods/skytemple.stormmodbase.stormdata/LibMLCP.galaxy:2095

    }
    else {
        DialogControlSetAnimationState(libMLCP_gv_mMSkyTemplePanelIcons[lp_templeIndex].lv_shrineIcon, libCore_gv_playerGroupFromPlayer[libCore_gv_oBSERVER_ObserverUIPlayer], "Ownership", "Chaos");
    }
    lv_height = FixedToInt((IntToFixed(lp_progress)*IntToFixed(lv_height_C)/lp_progerssMax));

mods/heroesmapmods/battlegroundmapmods/skytemple.stormmodbase.stormdata/LibMLCP.galaxy:2156

    autoECDBD92E_val = lp_team;
    if (autoECDBD92E_val == 0) {
        DialogControlSetAnimationState(libMLCP_gv_mMSkyTemplePanelIcons[lp_templeIndex].lv_shrineProgress, PlayerGroupAll(), "Ownership", "Neutral");
    }
    else if (autoECDBD92E_val == libGame_gv_teamOrderIndex_C) {

mods/heroesmapmods/battlegroundmapmods/skytemple.stormmodbase.stormdata/LibMLCP.galaxy:2159

    }
    else if (autoECDBD92E_val == libGame_gv_teamOrderIndex_C) {
        DialogControlSetAnimationState(libMLCP_gv_mMSkyTemplePanelIcons[lp_templeIndex].lv_shrineProgress, PlayerGroupAll(), "Ownership", "Order");
    }
    else if (autoECDBD92E_val == libGame_gv_teamChaosIndex_C) {

mods/heroesmapmods/battlegroundmapmods/skytemple.stormmodbase.stormdata/LibMLCP.galaxy:2162

    }
    else if (autoECDBD92E_val == libGame_gv_teamChaosIndex_C) {
        DialogControlSetAnimationState(libMLCP_gv_mMSkyTemplePanelIcons[lp_templeIndex].lv_shrineProgress, PlayerGroupAll(), "Ownership", "Chaos");
    }
    else {

mods/heroesmapmods/battlegroundmapmods/tombofthespiderqueen.stormmodbase.stormdata/LibMSOC.galaxy:669

    lv_countNeeded = (libMSOC_gv_mMTombSpiderQueenActivationAmountRequired[lp_teamNumber]-libMSOC_gv_mMTombSpiderQueenSoulsTotal[lp_teamNumber]);
    if ((lp_heldCount >= lv_countNeeded)) {
        DialogControlSetAnimationState(libMSOC_gv_mMTombSpiderQueenPanel.lv_theCryptsTurninGlow[lp_teamNumber], PlayerGroupAll(), "TurninReady", "IsReady");
        DialogControlSendAnimationEvent(DialogControlLastCreated(), PlayerGroupAll(), "TurninReadyAnim");
        libAIAI_gf_AITeamDelegateAdjustEventCarriedPotentialSufficient(1, lp_teamNumber);

mods/heroesmapmods/battlegroundmapmods/tombofthespiderqueen.stormmodbase.stormdata/LibMSOC.galaxy:674

    }
    else {
        DialogControlSetAnimationState(libMSOC_gv_mMTombSpiderQueenPanel.lv_theCryptsTurninGlow[lp_teamNumber], PlayerGroupAll(), "TurninReady", "NotReady");
        libAIAI_gf_AITeamDelegateResetEventCarriedPotentialSufficient(lp_teamNumber);
    }

mods/heroesmapmods/battlegroundmapmods/tombofthespiderqueen.stormmodbase.stormdata/LibMSOC.galaxy:978

        DialogControlHookup(lv_panels[lv_currentPanelLayer], c_triggerControlTypePanel, "MapMechanicGlowContainer");
        libMSOC_gv_mMTombSpiderQueenPanel.lv_theCryptsTurninGlow[lv_itTeam] = DialogControlLastCreated();
        DialogControlSetAnimationState(DialogControlLastCreated(), PlayerGroupAll(), "TurninReady", "NotReady");
        DialogControlHookup(lv_panels[lv_currentPanelLayer], c_triggerControlTypeLabel, "TeamSoulCounter");
        libNtve_gf_SetDialogItemText(DialogControlLastCreated(), IntToText(0), PlayerGroupAll());

mods/heroesmapmods/battlegroundmapmods/volskayamechanics.stormmodbase.stormdata/LibVLSK.galaxy:936

    auto8A08096D_val = lp_currentOwner;
    if (auto8A08096D_val == libCore_gv_cOMPUTER_Neutral) {
        DialogControlSetAnimationState(libVLSK_gv_volskayaUI.lv_mapMechanic_CenterCircle, PlayerGroupAll(), "TeamOwnershipColor", "Neutral");
        DialogControlSetVisible(libVLSK_gv_volskayaUI.lv_mapMechanic_VictoryProgress_OrderFill, PlayerGroupAll(), false);
        DialogControlSetVisible(libVLSK_gv_volskayaUI.lv_mapMechanic_VictoryProgress_ChaosFill, PlayerGroupAll(), false);

mods/heroesmapmods/battlegroundmapmods/volskayamechanics.stormmodbase.stormdata/LibVLSK.galaxy:941

    }
    else if (auto8A08096D_val == libGame_gv_teamOrderIndex_C) {
        DialogControlSetAnimationState(libVLSK_gv_volskayaUI.lv_mapMechanic_CenterCircle, PlayerGroupAll(), "TeamOwnershipColor", "Order");
        DialogControlSetVisible(libVLSK_gv_volskayaUI.lv_mapMechanic_VictoryProgress_OrderFill, PlayerGroupAll(), true);
        DialogControlSetVisible(libVLSK_gv_volskayaUI.lv_mapMechanic_VictoryProgress_ChaosFill, PlayerGroupAll(), false);

mods/heroesmapmods/battlegroundmapmods/volskayamechanics.stormmodbase.stormdata/LibVLSK.galaxy:946

    }
    else if (auto8A08096D_val == libGame_gv_teamChaosIndex_C) {
        DialogControlSetAnimationState(libVLSK_gv_volskayaUI.lv_mapMechanic_CenterCircle, PlayerGroupAll(), "TeamOwnershipColor", "Chaos");
        DialogControlSetVisible(libVLSK_gv_volskayaUI.lv_mapMechanic_VictoryProgress_OrderFill, PlayerGroupAll(), false);
        DialogControlSetVisible(libVLSK_gv_volskayaUI.lv_mapMechanic_VictoryProgress_ChaosFill, PlayerGroupAll(), true);

mods/heroesmapmods/battlegroundmapmods/volskayamechanics.stormmodbase.stormdata/LibVLSK.galaxy:965

    if ((libVLSK_gv_capturePoints[libVLSK_gv_currentCapturePoint].lv_contestTimes[libGame_gv_teamOrderIndex_C] >= libVLSK_gv_capturePoints[libVLSK_gv_currentCapturePoint].lv_contestTimes[libGame_gv_teamChaosIndex_C])) {
        lv_teamWithProgress = libGame_gv_teamOrderIndex_C;
        DialogControlSetAnimationState(libVLSK_gv_volskayaUI.lv_mapMechanic_ContestProgressBar_FillImage, PlayerGroupAll(), "TeamColor", "Order");
    }
    else {

mods/heroesmapmods/battlegroundmapmods/volskayamechanics.stormmodbase.stormdata/LibVLSK.galaxy:969

    else {
        lv_teamWithProgress = libGame_gv_teamChaosIndex_C;
        DialogControlSetAnimationState(libVLSK_gv_volskayaUI.lv_mapMechanic_ContestProgressBar_FillImage, PlayerGroupAll(), "TeamColor", "Chaos");
    }
    lv_percentProgress = (libVLSK_gv_capturePoints[libVLSK_gv_currentCapturePoint].lv_contestTimes[lv_teamWithProgress] / libVLSK_gv_capturePointContestTimeGoal_C);

mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmodbase.stormdata/LibMSC2.galaxy:1106


    // Implementation
    DialogControlSetAnimationState(libUIUI_gv_uIGameUIHandles.lv_gameUIContainer, PlayerGroupAll(), "SingleStackCarryBehavior", "True");
    DialogControlCreateInPanelFromTemplate(lp_parentPanel, c_triggerControlTypePanel, "SCMap2/SC2Panel");
    lv_currentPanelLayer += 1;

mods/heromods/ana.stormmodbase.stormdata/LibHANA.galaxy:384

    }

    DialogControlSetAnimationState(libHANA_gv_anaUI.lv_EyeOfHorusTargetImage, lv_anaPlayerGroup, "Show", "Wait");
    DialogControlSetAnimationState(libHANA_gv_anaUI.lv_EyeOfHorusTargetImage, lv_anaPlayerGroup, "Show", "Visible");
    libNtve_gf_SetDialogItemImage(libHANA_gv_anaUI.lv_EyeOfHorusTargetImage, libHANA_gf_GetPortraitPathforEyeOfHorus(EventPlayerEffectUsedUnit(c_effectUnitTarget)), lv_anaPlayerGroup);

mods/heromods/ana.stormmodbase.stormdata/LibHANA.galaxy:385


    DialogControlSetAnimationState(libHANA_gv_anaUI.lv_EyeOfHorusTargetImage, lv_anaPlayerGroup, "Show", "Wait");
    DialogControlSetAnimationState(libHANA_gv_anaUI.lv_EyeOfHorusTargetImage, lv_anaPlayerGroup, "Show", "Visible");
    libNtve_gf_SetDialogItemImage(libHANA_gv_anaUI.lv_EyeOfHorusTargetImage, libHANA_gf_GetPortraitPathforEyeOfHorus(EventPlayerEffectUsedUnit(c_effectUnitTarget)), lv_anaPlayerGroup);
    if ((libGame_gf_TeamNumberOfPlayer(lv_anaPlayer) == libGame_gf_TeamNumberOfPlayer(UnitGetOwner(lv_targetUnit)))) {

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:1152

    autoBA431F5A_val = lv_rewardCount;
    if (autoBA431F5A_val == 1) {
        DialogControlSetAnimationState(libNCUI_gv_nU_MissionRewardsModule, PlayerGroupAll(), "RewardsCountState", "Rewards1");
        DialogControlSetVisible(libNCUI_gv_nU_MissionRewardsModule, PlayerGroupAll(), true);
        libNCUI_gv_nU_MissionRewardsEnabled = true;

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:1157

    }
    else if (autoBA431F5A_val == 2) {
        DialogControlSetAnimationState(libNCUI_gv_nU_MissionRewardsModule, PlayerGroupAll(), "RewardsCountState", "Rewards2");
        DialogControlSetVisible(libNCUI_gv_nU_MissionRewardsModule, PlayerGroupAll(), true);
        libNCUI_gv_nU_MissionRewardsEnabled = true;

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:1162

    }
    else {
        DialogControlSetAnimationState(libNCUI_gv_nU_MissionRewardsModule, PlayerGroupAll(), "RewardsCountState", "Rewards0");
        DialogControlSetVisible(libNCUI_gv_nU_MissionRewardsModule, PlayerGroupAll(), false);
        libNCUI_gv_nU_MissionRewardsEnabled = false;

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:1175

            libNtve_gf_SetDialogItemTooltip(libNCUI_gv_nU_MissionRewardsIcons[lv_rewardIndex], libNovC_gf_NC_PerkTooltipReward(lv_equipmentRewards[lv_rewardIndex]), PlayerGroupAll());
            if ((libComC_gf_CC_StoryInSimulation() == true) && (libComC_gf_MissionObjectiveStateCheck(libComC_gf_CC_PerkRequiredObjective(lv_equipmentRewards[lv_rewardIndex]), libComC_ge_MissionObjectiveState_Completed) == true)) {
                DialogControlSetAnimationState(libNCUI_gv_nU_MissionRewardsContainers[lv_rewardIndex], PlayerGroupAll(), "EarnedState", "Earned");
            }
            else {

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:1178

            }
            else {
                DialogControlSetAnimationState(libNCUI_gv_nU_MissionRewardsContainers[lv_rewardIndex], PlayerGroupAll(), "EarnedState", "Unearned");
            }
        }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:1185

            libNtve_gf_SetDialogItemTooltip(libNCUI_gv_nU_MissionRewardsIcons[lv_rewardIndex], libNovC_gf_NC_ArmyTechItemTooltipReward(lv_techItemRewards[lv_rewardIndex]), PlayerGroupAll());
            if ((libComC_gf_CC_StoryInSimulation() == true) && (libComC_gf_MissionObjectiveStateCheck(libNovC_gf_NC_ArmyTechItemRequiredObjective(lv_techItemRewards[lv_rewardIndex]), libComC_ge_MissionObjectiveState_Completed) == true)) {
                DialogControlSetAnimationState(libNCUI_gv_nU_MissionRewardsContainers[lv_rewardIndex], PlayerGroupAll(), "EarnedState", "Earned");
            }
            else {

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:1188

            }
            else {
                DialogControlSetAnimationState(libNCUI_gv_nU_MissionRewardsContainers[lv_rewardIndex], PlayerGroupAll(), "EarnedState", "Unearned");
            }
        }

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:1521

    // Implementation
    if ((lp_state == libNCUI_ge_NU_DialogItemNewState_NoNewItem)) {
        DialogControlSetAnimationState(lp_dialogItem, PlayerGroupAll(), "NewItemState", "NoNewItem ");
    }
    else if ((lp_state == libNCUI_ge_NU_DialogItemNewState_NewItem)) {

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:1524

    }
    else if ((lp_state == libNCUI_ge_NU_DialogItemNewState_NewItem)) {
        DialogControlSetAnimationState(lp_dialogItem, PlayerGroupAll(), "NewItemState", "NewItem");
    }
}

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:1760

            libNtve_gf_SetDialogItemText(libNCUI_gv_nU_UpgradesSelectionUpgradeLabels[lv_upgradeSlotIndex], libNCUI_gf_NU_UpgradesSlotSelectionLabel(lv_upgradeSlotIndex), PlayerGroupAll());
            libNtve_gf_SetDialogItemImage(libNCUI_gv_nU_UpgradesSelectionIcons[lv_upgradeSlotIndex], libNCUI_gf_NU_UpgradesSlotSelectionIcon(lv_upgradeSlotIndex), PlayerGroupAll());
            DialogControlSetAnimationState(libNCUI_gv_nU_UpgradesSelectionButtons[lv_upgradeSlotIndex], PlayerGroupAll(), "AssignedState", "Unassigned");
            DialogControlSetAnimationState(libNCUI_gv_nU_UpgradesSelectionButtons[lv_upgradeSlotIndex], PlayerGroupAll(), "UnitState", (libNCUI_gf_NU_UpgradesArmyUnitInSlot(lv_upgradeSlotIndex)));
            lv_currentTechItemSubsectionIndex = 1;

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

    }
    if ((lp_active == false)) {
        DialogControlSetAnimationState(libCOUI_gv_cU_GPCmdButtons[lv_heroUnitID][UnitGetOwner(lp_unit)], PlayerGroupAll(), "ActiveState", "False");
    }
    else if ((lp_active == true) && (lv_heroUnitID == 1)) {

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

    }
    else if ((lp_active == true) && (lv_heroUnitID == 1)) {
        DialogControlSetAnimationState(libCOUI_gv_cU_GPCmdButtons[1][UnitGetOwner(lp_unit)], PlayerGroupAll(), "ActiveState", "True");
        DialogControlSetAnimationState(libCOUI_gv_cU_GPCmdButtons[2][UnitGetOwner(lp_unit)], PlayerGroupAll(), "ActiveState", "False");
        DialogControlSetAnimationState(libCOUI_gv_cU_GPCmdButtons[3][UnitGetOwner(lp_unit)], PlayerGroupAll(), "ActiveState", "False");

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

    else if ((lp_active == true) && (lv_heroUnitID == 1)) {
        DialogControlSetAnimationState(libCOUI_gv_cU_GPCmdButtons[1][UnitGetOwner(lp_unit)], PlayerGroupAll(), "ActiveState", "True");
        DialogControlSetAnimationState(libCOUI_gv_cU_GPCmdButtons[2][UnitGetOwner(lp_unit)], PlayerGroupAll(), "ActiveState", "False");
        DialogControlSetAnimationState(libCOUI_gv_cU_GPCmdButtons[3][UnitGetOwner(lp_unit)], PlayerGroupAll(), "ActiveState", "False");
    }

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

        DialogControlSetAnimationState(libCOUI_gv_cU_GPCmdButtons[1][UnitGetOwner(lp_unit)], PlayerGroupAll(), "ActiveState", "True");
        DialogControlSetAnimationState(libCOUI_gv_cU_GPCmdButtons[2][UnitGetOwner(lp_unit)], PlayerGroupAll(), "ActiveState", "False");
        DialogControlSetAnimationState(libCOUI_gv_cU_GPCmdButtons[3][UnitGetOwner(lp_unit)], PlayerGroupAll(), "ActiveState", "False");
    }
    else if ((lp_active == true) && (lv_heroUnitID == 2)) {