# Dialog Item Invoke As String

Grammar — Invokes method method(parameter1, parameter2, parameter3, parameter4) on flash dialog item flash for players
FlagsNative | Action | Restricted

Calls a method invoke on a loaded flash dialog item. The flash dialog item must have a flash file loaded which has the specified method name in it. The parameters for the invoked method are optional.

# Arguments

  • int<control> — Flash
  • playergroup — Players
  • string — Method
  • string — Parameter 1
  • string — Parameter 2
  • string — Parameter 3
  • string — Parameter 4

Returns — void

native void DialogControlInvokeAsString(
	int control,
	playergroup players,
	string method,
	string param1,
	string param2,
	string param3,
	string param4,
);

Category: Dialog / Dialog Item Tools

# Examples

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:1780

            }
        }
        DialogControlInvokeAsString(gv_nullZoneTugOfWar, PlayerGroupAll(), "SetMarker", FixedToString(lv_tugofWarBarPercent, c_fixedPrecisionAny), null, null, null);
        Wait(0.125, c_timeAI);
    }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2mapMapScript.galaxy:1780

            }
        }
        DialogControlInvokeAsString(gv_nullZoneTugOfWar, PlayerGroupAll(), "SetMarker", FixedToString(lv_tugofWarBarPercent, c_fixedPrecisionAny), null, null, null);
        Wait(0.125, c_timeAI);
    }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:11775

    }

    DialogControlInvokeAsString(libSwaC_gv_zS_KerriganUITierLevelUpFlash, PlayerGroupAll(), "PlayStatEffect", null, null, null, null);
}

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:17663

    if ((libSwaC_gv_zS_MissionHelpButtonTipPanel != c_invalidDialogControlId)) {
        if (((libSwaC_gf_CurrentMap() == "ZLab1") || (libSwaC_gf_CurrentMap() == "ZLab2") || (libSwaC_gf_CurrentMap() == "ZSpace1"))) {
            DialogControlInvokeAsString(libSwaC_gv_zS_MissionHelpButtonTipPanel, PlayerGroupAll(), "CloseTip_Terr", null, null, null, null);
        }
        else {

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:17666

        }
        else {
            DialogControlInvokeAsString(libSwaC_gv_zS_MissionHelpButtonTipPanel, PlayerGroupAll(), "CloseTip_Zerg", null, null, null, null);
        }
    }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21514

        }
        if ((lv_tierHit == true)) {
            DialogControlInvokeAsString(libSwaC_gv_zS_KerriganUITierPowerBar2, PlayerGroupAll(), ("UpgradeLevel" + IntToString(libSwaC_gv_zS_KerriganUIXP)), null, null, null, null);
            SoundPlay(SoundLink("UI_KerriganUpgrades_CurrentLevel_x10", -1), PlayerGroupAll(), 100.0, 0.0);
        }

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21536

            SoundPlay(SoundLink("UI_Kerrigan_AbilityLevel_HorzTier", -1), PlayerGroupAll(), 100.0, 0.0);
            if ((libSwaC_gf_KerriganPhaseCheck(libSwaC_ge_KerriganPhase_KerriganPhaseGhost) == true)) {
                DialogControlInvokeAsString(libSwaC_gv_zS_KerriganUITierAbilityFrame4[(lv_tier-libSwaC_gv_zSC_KerriganAbilityTiers2)], PlayerGroupAll(), "BaseAbilityUpgrade", null, null, null, null);
            }
            else {

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21539

            }
            else {
                DialogControlInvokeAsString(libSwaC_gv_zS_KerriganUITierAbilityFrame4[(lv_tier-libSwaC_gv_zSC_KerriganAbilityTiers2)], PlayerGroupAll(), "PrimalAbilityUpgrade", null, null, null, null);
            }
            libSwaC_gf_ZS_KerriganUITierUpdate();

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21625

    }

    DialogControlInvokeAsString(libSwaC_gv_zS_KerriganUITierPowerBar3, PlayerGroupAll(), "AbilityContainerUpgrade", null, null, null, null);
    SoundPlay(SoundLink("UI_Kerrigan_AbilityLevel_3rdRowExpansion", -1), PlayerGroupAll(), 100.0, 0.0);
    Wait(0.4, c_timeGame);

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:1903

    else {
    }
    DialogControlInvokeAsString(lib281DEC45_gv_zSS_UIMainBottomButtonFlashes[(lp_buttonIndex)], PlayerGroupAll(), "Birth", null, null, null, null);
    lib281DEC45_gv_zSS_UIMainBottomButtonIsFlashing[(lp_buttonIndex)] = true;
    return true;

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:1930

    else {
    }
    DialogControlInvokeAsString(lib281DEC45_gv_zSS_UIMainBottomButtonFlashes[(lp_buttonIndex)], PlayerGroupAll(), "Death", null, null, null, null);
    lib281DEC45_gv_zSS_UIMainBottomButtonIsFlashing[(lp_buttonIndex)] = false;
    return true;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:5812

    }
    DialogControlInvokeAsText(libCOUI_gv_cU_FanfareFlash, lv_fanfarePlayers, "SetNameText", PlayerName(lp_player), null, null, null);
    DialogControlInvokeAsString(libCOUI_gv_cU_FanfareFlash, lv_fanfarePlayers, "PlayVictoryScreen", StringCase((lv_playerRace), false), null, null, null);
    SoundPlayForPlayer(SoundLink("UI_Victory_All", 0), c_maxPlayers, lv_fanfarePlayers, 100.0, 0.0);
}

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:8105


    if ((libA3DDD02B_gv_pP_MissionHelpButtonTipPanel != c_invalidDialogControlId)) {
        DialogControlInvokeAsString(libA3DDD02B_gv_pP_MissionHelpButtonTipPanel, PlayerGroupAll(), "CloseTip_Terr", null, null, null, null);
    }