# Hookup Standard Dialog Item

Grammar — Hooks up an existing type in the standard UI called name
FlagsNative | Action

Hooks up an already existing dialog item in the default UI of the specified type. This allows dynamic modification of any frame within the Built-In UI. Frames that were created from locked Descs cannot be hooked up.

# Arguments

Returns — int [ control ]

native int DialogControlHookupStandard(
	int type,
	string inTemplate,
);

Category: Dialog / Dialog Items

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L1098
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/ObjectivePanel")
// L1100
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/DirectiveDisplay")
// L1098
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/ObjectivePanel")
// L1100
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/DirectiveDisplay")

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L8271
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/ObjectivePanel")

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L1720
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/TugOfWarFrame")
// L1188
DialogControlHookupStandard(c_triggerControlTypeButton, "UIContainer/ConsoleUIContainer/IdleButton")
// L1191
DialogControlHookupStandard(c_triggerControlTypeImage, "UIContainer/ConsoleUIContainer/IdleButton/GlowImage")
// L1720
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/TugOfWarFrame")
// L1188
DialogControlHookupStandard(c_triggerControlTypeButton, "UIContainer/ConsoleUIContainer/IdleButton")
// L1191
DialogControlHookupStandard(c_triggerControlTypeImage, "UIContainer/ConsoleUIContainer/IdleButton/GlowImage")

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L611
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer")
// L654
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/ObjectivePanel")
// L657
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/ErrorDisplay")
// L660
DialogControlHookupStandard(c_triggerControlTypeFlash, "UIContainer/ConsoleUIContainer/HelpTipEffects")
// L662
DialogControlHookupStandard(c_triggerControlTypeButton, "UIContainer/FullscreenUpperContainer/MenuBar/HelpButton")
// L2689
DialogControlHookupStandard(c_triggerControlTypeFlash, "UIContainer/ConsoleUIContainer/ArmyButtonTipEffects")
// L2691
DialogControlHookupStandard(c_triggerControlTypeButton, "UIContainer/ConsoleUIContainer/ArmyButton")
// L2730
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/ProgressUnitFrame")
// L2933
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/BossUnitFrame")
// L3153
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/HeroUnitFrame")

# campaigns/void.sc2campaign

MapScript.galaxy

// L1146
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L1196
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L1246
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L1296
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L1348
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L1399
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L1449
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L2686
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer")
// L4839
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer")
// L2096
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L1594
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsolePanel")
// L2337
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L3025
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L3370
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L1146
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L1196
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L1246
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L1296
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L1348
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L1399
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L1449
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L2686
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer")
// L4839
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer")
// L2096
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L1594
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsolePanel")
// L2337
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L3025
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L3370
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")

# campaigns/voidstory.sc2campaign

VoidCampaignLib.galaxy

// L5940
DialogControlHookupStandard(c_triggerControlTypePanel, "/$parent/$parent/HelpMenuDialogGame/PanelFrame/TechTreePanel/CategoryFrame_Prot_Campaign/Archon")
// L5945
DialogControlHookupStandard(c_triggerControlTypePanel, "/$parent/$parent/HelpMenuDialogGame/PanelFrame/TechTreePanel/CategoryFrame_Prot_Campaign/MergedUnitsBorderImage")
// L5950
DialogControlHookupStandard(c_triggerControlTypePanel, "/$parent/$parent/HelpMenuDialogGame/PanelFrame/TechTreePanel/CategoryFrame_Prot_Campaign/MergedUnitsLabel")

# campaigns/voidstory.sc2campaign

VoidCampaignMissionLib.galaxy

// L2685
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/HelpTipCallout")
// L2687
DialogControlHookupStandard(c_triggerControlTypeButton, "UIContainer/FullscreenUpperContainer/MenuBar/HelpButton")
// L4366
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer")
// L4395
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/ObjectivePanel")
// L7415
DialogControlHookupStandard(c_triggerControlTypeImage, "UIContainer/FullscreenUpperContainer/ResourcePanel/ResourceFrame/SupplyHighlight")
// L7428
DialogControlHookupStandard(c_triggerControlTypeImage, "UIContainer/FullscreenUpperContainer/ResourcePanel/ResourceFrame/SupplyHighlight")

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L3354
DialogControlHookupStandard(c_triggerControlTypeFlash, "UIContainer/ConsoleUIContainer/ArmyButtonTipEffects")
// L3356
DialogControlHookupStandard(c_triggerControlTypeButton, "UIContainer/ConsoleUIContainer/ArmyButton")
// L3411
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/CampaignDirectiveDisplay")
// L3533
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/VoidBossUnitFrame")
// L3744
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/VoidHeroUnitFrame")
// L3747
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/SecondaryVoidHeroUnitFrame")
// L3792
DialogControlHookupStandard(c_triggerControlTypeUnitTarget, "UIContainer/ConsoleUIContainer/VoidHeroUnitFrame/UnitTargetFrame")
// L3796
DialogControlHookupStandard(c_triggerControlTypeUnitTarget, "UIContainer/ConsoleUIContainer/SecondaryVoidHeroUnitFrame/UnitTargetFrame")
// L4199
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/ProgressFrameTemplate")
// L5239
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer\\ConsoleUIContainer\\TriggerWindowPanel\\TimerWindowTemplate")

# mods/heroes.stormmod

MapScript.galaxy

// L2744
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/TryMeModeUIContainer/")
// L2746
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/TryMeModeUIContainer/TryMeModeButtonPanel")
// L2751
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/TryMeModeUIContainer/TryMeModeShowButton")
// L2830
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/TryMeModeUIContainer/DummyPanel")
// L2850
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/TryMeModeUIContainer/HealingDummyPanel")
// L840
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/MinimapPanel")
// L845
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/ObjectivePanel")
// L437
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/MinimapPanel")
// L439
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/ObjectivePanel")
// L1045
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer\\ConsolePanel\\TutorialPortraitHighlight")
// L2133
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/ChatDisplay")
// L2135
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/ObjectivePanel")
// L2145
DialogControlHookupStandard(c_triggerControlTypePanel, "WorldPanel/UnitStatusPanel")
// L3238
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer\\ConsoleUIContainer\\HeroTalentTreeSelectionPanel\\TalentTreePanel\\TutorialTalentHighlight")
// L2744
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/TryMeModeUIContainer/")
// L2746
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/TryMeModeUIContainer/TryMeModeButtonPanel")
// L2751
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/TryMeModeUIContainer/TryMeModeShowButton")
// L2830
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/TryMeModeUIContainer/DummyPanel")
// L2850
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/TryMeModeUIContainer/HealingDummyPanel")
// L840
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/MinimapPanel")
// L845
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/ObjectivePanel")
// L437
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/MinimapPanel")
// L439
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/ObjectivePanel")
// L1045
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer\\ConsolePanel\\TutorialPortraitHighlight")
// L2133
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/ChatDisplay")
// L2135
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/ObjectivePanel")
// L2145
DialogControlHookupStandard(c_triggerControlTypePanel, "WorldPanel/UnitStatusPanel")
// L3238
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer\\ConsoleUIContainer\\HeroTalentTreeSelectionPanel\\TalentTreePanel\\TutorialTalentHighlight")

# mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmod

LibAMVS.galaxy

// L416
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/MutatorPanel")

# mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod

LibPEB1.galaxy

// L4137
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/PVEBrawlHoldoutPanel")
// L4316
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/PVEBrawlHoldoutPanel")
// L12111
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/HeroLeaderPanel/HeroLeaderPanelContainer")