# Hookup Standard Dialog Item
Grammar — Hooks up an existing type in the standard UI called name
Flags —Native
|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
int
[ preset::ControlType ] — Typestring
— Name
Returns — int
[ control ]
native int DialogControlHookupStandard(
int type,
string inTemplate,
);
# Related
Category: Dialog / Dialog Items
- [F] —
int
[ control ] — Create Dialog Item — ( DialogControlCreate ) - [F] —
int
[ control ] — Create Dialog Item In Panel — ( DialogControlCreateInPanel ) - [F] —
int
[ control ] — Create Dialog Item From Template — ( DialogControlCreateFromTemplate ) - [F] —
int
[ control ] — Create Dialog Item In Panel From Template — ( DialogControlCreateInPanelFromTemplate ) - [F] —
int
[ control ] — Hookup Dialog Item — ( DialogControlHookup ) - [F] —
int
[ control ] — Hookup Standard Dialog Item — ( DialogControlHookupStandard ) - [F] —
int
[ control ] — Hookup Unit Status Dialog Item — ( DialogControlHookupUnitStatus ) - [F] —
void
— Show/Hide Dialog Item — ( DialogControlSetVisible ) - [F] —
void
— Enable/Disable Dialog Item — ( DialogControlSetEnabled ) - [F] —
void
— Set Dialog Item Text — ( libNtve_gf_SetDialogItemText ) - [F] —
void
— Set Dialog Item Observed Type — ( DialogControlSetObservedType ) - [F] —
int
[ control ] — Last Created Dialog Item — ( DialogControlLastCreated ) - [F] —
bool
— Dialog Item Is Visible — ( DialogControlIsVisible ) - [F] —
bool
— Dialog Item Is Enabled — ( DialogControlIsEnabled ) - [F] —
text
— Dialog Item Text — ( libNtve_gf_DialogItemText ) - [F] —
void
— Dialog Item Is Used — ( TriggerAddEventDialogControl ) - [F] —
int
[ control ] — Used Dialog Item — ( EventDialogControl ) - [F] —
int
[ preset::ControlEventType ] — Dialog Item Event Type — ( EventDialogControlEventType ) - [F] —
int
[ preset::MouseButton ] — Dialog Item Mouse Button — ( EventDialogControlMouseButton )
# Examples
# campaigns/liberty.sc2campaign
// 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
// L8271
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/ObjectivePanel")
# campaigns/swarm.sc2campaign
// 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
// 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
// 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")
// L1594
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsolePanel")
// L2337
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L3025
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L3370
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenLowerContainer")
// L2096
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
// 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
// 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
// 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
// L416
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/MutatorPanel")
# mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod
// L4137
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/PVEBrawlHoldoutPanel")
// L4316
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/ConsoleUIContainer/PVEBrawlHoldoutPanel")
// L12111
DialogControlHookupStandard(c_triggerControlTypePanel, "UIContainer/FullscreenUpperContainer/HeroLeaderPanel/HeroLeaderPanelContainer")