# Dialog Item Invoke As String
Grammar — Invokes method method(parameter1, parameter2, parameter3, parameter4) on flash dialog item flash for players
Flags —Native
|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 ] — Flashplayergroup
— Playersstring
— Methodstring
— Parameter 1string
— Parameter 2string
— Parameter 3string
— Parameter 4
Returns — void
native void DialogControlInvokeAsString(
int control,
playergroup players,
string method,
string param1,
string param2,
string param3,
string param4,
);
# Related
Category: Dialog / Dialog Item Tools
- [F] —
void
— Dialog Item Send Animation Event 2 — ( DialogControlSetAnimationState ) - [F] —
void
— Position Subtitle to Dialog Item — ( DialogSetSubtitlePositionOverrideControl ) - [F] —
void
— Clear Subtitle Position Dialog Item — ( DialogClearSubtitlePositionOverrideControl ) - [F] —
void
— Destroy All Dialog Items — ( DialogControlDestroyAll ) - [F] —
int
[ dialog ] — Dialog Containing Dialog Item — ( DialogControlGetDialog ) - [F] —
int
[ preset::ControlType ] — Dialog Item Type — ( DialogControlGetType ) - [F] —
void
— Set Dialog Item Color — ( libNtve_gf_SetDialogItemColor ) - [F] —
void
— Set Dialog Item Style — ( libNtve_gf_SetDialogItemStyle ) - [F] —
void
— Set Dialog Item Text Writeout — ( libNtve_gf_SetDialogItemTextWriteout ) - [F] —
void
— Set Dialog Item Text Writeout Duration — ( libNtve_gf_SetDialogItemTextWriteoutDuration ) - [F] —
void
— Set Dialog Item Tooltip — ( libNtve_gf_SetDialogItemTooltip ) - [F] —
color
— Dialog Item Color — ( libNtve_gf_DialogItemColor ) - [F] —
string
[ fontstyle ] — Dialog Item Style — ( libNtve_gf_DialogItemStyle ) - [F] —
text
— Dialog Item Tooltip — ( libNtve_gf_DialogItemTooltip ) - [F] —
void
— Destroy Dialog Item — ( DialogControlDestroy ) - [F] —
void
— Set Dialog Item Image — ( libNtve_gf_SetDialogItemImage ) - [F] —
void
— Set Dialog Item Hover Image — ( libNtve_gf_SetDialogItemImage2 ) - [F] —
void
— Set Dialog Item Image Type — ( libNtve_gf_SetDialogItemImageType ) - [F] —
void
— Set Dialog Item Blend Mode — ( libNtve_gf_SetDialogItemBlendMode ) - [F] —
void
— Set Dialog Item Tiled — ( libNtve_gf_SetDialogItemImageType2 ) - [F] —
void
— Set Dialog Background — ( DialogSetImage ) - [F] —
string
— Dialog Item Image — ( libNtve_gf_DialogItemImage ) - [F] —
int
[ preset::ImageType ] — Dialog Item Image Type — ( libNtve_gf_DialogItemImageType ) - [F] —
void
— Fade Dialog Item Transparency — ( DialogControlFadeTransparency ) - [F] —
void
— Set Dialog Item Flash — ( libNtve_gf_SetDialogItemFlash ) - [F] —
void
— Set Dialog Item Cutscene — ( libNtve_gf_SetDialogItemCutscene ) - [F] —
void
— Dialog Item Invoke As Text — ( DialogControlInvokeAsText ) - [F] —
void
— Dialog Item Invoke As String — ( DialogControlInvokeAsString ) - [F] —
void
— Dialog Item Send Animation Event — ( DialogControlSendAnimationEvent ) - [F] —
void
— Dialog Item Set Animation Speed — ( DialogControlSetAnimationSpeed ) - [F] —
void
— Dialog Item Set Animation Time — ( DialogControlSetAnimationTime ) - [F] —
void
— Dialog Item Advance Animation — ( DialogControlAdvanceAnimation ) - [F] —
void
— Dialog Item Force Transition — ( DialogControlForceTransition ) - [F] —
void
— Dialog Item Request Focus — ( DialogControlRequestFocus ) - [F] —
void
— Set Dialog Item Achievement — ( libNtve_gf_SetDialogItemAchievement ) - [F] —
void
— Set Dialog Item Render Priority — ( libNtve_gf_SetDialogItemRenderPriority ) - [F] —
void
— Set Dialog Item Click On Down — ( libNtve_gf_SetDialogItemClickOnDown ) - [F] —
void
— Set Dialog Item Toggled — ( libNtve_gf_SetDialogItemToggled ) - [F] —
void
— Set Dialog Item Movie — ( libNtve_gf_SetDialogItemMovie ) - [F] —
void
— Set Dialog Item Desaturated — ( libNtve_gf_SetDialogItemDesaturated ) - [F] —
void
— Set Dialog Item Desaturation Color — ( libNtve_gf_SetDialogItemDesaturationColor ) - [F] —
void
— Set Dialog Item Custom Tooltip — ( libNtve_gf_SetDialogItemCustomTooltip ) - [F] —
void
— Set Dialog Item Unit — ( libNtve_gf_SetDialogItemUnit ) - [F] —
void
— Set Dialog Item Model — ( libNtve_gf_SetDialogItemModel ) - [F] —
void
— Set Dialog Item Animation — ( libNtve_gf_SetDialogItemAnimation ) - [F] —
void
— Set Dialog Item Camera — ( libNtve_gf_SetDialogItemCamera ) - [F] —
void
— Set Dialog Item Border Visible — ( libNtve_gf_SetDialogItemBorderVisible ) - [F] —
void
— Set Dialog Item Border Image — ( libNtve_gf_SetDialogItemBorderImage ) - [F] —
void
— Set Dialog Item Background Visible — ( libNtve_gf_SetDialogItemBackgroundVisible ) - [F] —
void
— Set Dialog Item Use Transition — ( libNtve_gf_SetDialogItemUseTransition ) - [F] —
void
— Set Dialog Item Muted — ( libNtve_gf_SetDialogItemMuted ) - [F] —
void
— Set Dialog Item Paused — ( libNtve_gf_SetDialogItemPaused ) - [F] —
void
— Set Dialog Item Accept Mouse — ( libNtve_gf_SetDialogItemAcceptMouse ) - [F] —
void
— Set Dialog Item Tint Color — ( libNtve_gf_SetDialogItemTintColor ) - [F] —
void
— Set Dialog Item Team Color — ( libNtve_gf_SetDialogItemTeamColor ) - [F] —
void
— Set Dialog Item Light — ( libNtve_gf_SetDialogItemLight ) - [F] —
void
— Set Dialog Item Transition Model — ( libNtve_gf_SetDialogItemTransitionModel ) - [F] —
void
— Set Dialog Item Force Visible — ( libNtve_gf_SetDialogItemForceVisible ) - [F] —
void
— Set Dialog Item Render Type — ( libNtve_gf_SetDialogItemRenderType ) - [F] —
void
— Set Dialog Item Unit Link — ( libNtve_gf_SetDialogItemUnitLink ) - [F] —
void
— Set Dialog Item Team Color Index — ( libNtve_gf_SetDialogItemTeamColorIndex ) - [F] —
void
— Set Dialog Item Animation Duration — ( libNtve_gf_SetDialogItemAnimationDuration ) - [F] —
void
— Set Dialog Item Animation Time — ( libNtve_gf_SetDialogItemAnimationTime ) - [F] —
void
— Set Dialog Item Actor — ( libNtve_gf_SetDialogItemActor ) - [F] —
void
— Set Dialog Item Behavior — ( libNtve_gf_SetDialogItemBehavior ) - [F] —
void
— Set Dialog Item Hotkey — ( libNtve_gf_SetDialogItemHotkey ) - [F] —
void
— Set Dialog Item Allowed Mouse Buttons — ( libNtve_gf_SetDialogItemAllowedMouseButtons ) - [F] —
void
— Set Dialog Item Alpha Mask — ( libNtve_gf_SetDialogItemAlphaMask ) - [F] —
void
— Set Dialog Item Animation Index — ( libNtve_gf_SetDialogItemAnimationIndex ) - [F] —
void
— Set Dialog Item Handle — ( libNtve_gf_SetDialogItemHandle ) - [F] —
void
— Set Dialog Item Border Color — ( libNtve_gf_SetDialogItemBorderColor ) - [F] —
void
— Set Dialog Item Fill Color — ( libNtve_gf_SetDialogItemFillColor ) - [F] —
void
— Set Dialog Item Submenu — ( libNtve_gf_SetDialogItemSubmenu ) - [F] —
void
— Set Dialog Item Unit Group — ( libNtve_gf_SetDialogItemUnitGroup ) - [F] —
void
— Set Dialog Item PlayerId — ( libNtve_gf_SetDialogItemPlayerId ) - [F] —
void
— Set Dialog Item Score Value Link — ( libNtve_gf_SetDialogItemScoreValueLink ) - [F] —
void
— Set Dialog Item State Index — ( libNtve_gf_SetDialogItemStateIndex )
# Examples
# campaigns/swarm.sc2campaign
// L1780
DialogControlInvokeAsString(gv_nullZoneTugOfWar, PlayerGroupAll(), "SetMarker", FixedToString(lv_tugofWarBarPercent, c_fixedPrecisionAny), null, null, null)
// L1780
DialogControlInvokeAsString(gv_nullZoneTugOfWar, PlayerGroupAll(), "SetMarker", FixedToString(lv_tugofWarBarPercent, c_fixedPrecisionAny), null, null, null)
# campaigns/swarmstory.sc2campaign
// L11775
DialogControlInvokeAsString(libSwaC_gv_zS_KerriganUITierLevelUpFlash, PlayerGroupAll(), "PlayStatEffect", null, null, null, null)
// L17663
DialogControlInvokeAsString(libSwaC_gv_zS_MissionHelpButtonTipPanel, PlayerGroupAll(), "CloseTip_Terr", null, null, null, null)
// L17666
DialogControlInvokeAsString(libSwaC_gv_zS_MissionHelpButtonTipPanel, PlayerGroupAll(), "CloseTip_Zerg", null, null, null, null)
// L21514
DialogControlInvokeAsString(libSwaC_gv_zS_KerriganUITierPowerBar2, PlayerGroupAll(), ("UpgradeLevel" + IntToString(libSwaC_gv_zS_KerriganUIXP)), null, null, null, null)
// L21536
DialogControlInvokeAsString(libSwaC_gv_zS_KerriganUITierAbilityFrame4[(lv_tier-libSwaC_gv_zSC_KerriganAbilityTiers2)], PlayerGroupAll(), "BaseAbilityUpgrade", null, null, null, null)
// L21539
DialogControlInvokeAsString(libSwaC_gv_zS_KerriganUITierAbilityFrame4[(lv_tier-libSwaC_gv_zSC_KerriganAbilityTiers2)], PlayerGroupAll(), "PrimalAbilityUpgrade", null, null, null, null)
// L21625
DialogControlInvokeAsString(libSwaC_gv_zS_KerriganUITierPowerBar3, PlayerGroupAll(), "AbilityContainerUpgrade", null, null, null, null)
# campaigns/swarmstoryutil.sc2mod
// L1903
DialogControlInvokeAsString(lib281DEC45_gv_zSS_UIMainBottomButtonFlashes[(lp_buttonIndex)], PlayerGroupAll(), "Birth", null, null, null, null)
// L1930
DialogControlInvokeAsString(lib281DEC45_gv_zSS_UIMainBottomButtonFlashes[(lp_buttonIndex)], PlayerGroupAll(), "Death", null, null, null, null)
# mods/starcoop/starcoop.sc2mod
// L5812
DialogControlInvokeAsString(libCOUI_gv_cU_FanfareFlash, lv_fanfarePlayers, "PlayVictoryScreen", StringCase((lv_playerRace), false), null, null, null)
# mods/voidprologue.sc2mod
// L8105
DialogControlInvokeAsString(libA3DDD02B_gv_pP_MissionHelpButtonTipPanel, PlayerGroupAll(), "CloseTip_Terr", null, null, null, null)