# Show/Hide Dialog Item
Grammar — visible|Show/Hide dialogItem for players
Flags —Native
|Action
Shows or hides the specified dialog item.
# Arguments
int
[ control ] — Dialog Itemplayergroup
— Playersbool
[ preset::ShowHideOption ] — Visible
Returns — void
native void DialogControlSetVisible(
int control,
playergroup players,
bool isVisible,
);
# 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
// L649
DialogControlSetVisible(gv_savedUnitsDialog2, PlayerGroupAll(), false)
// L1010
DialogControlSetVisible(gv_savedUnitsDialog2, PlayerGroupAll(), false)
// L1269
DialogControlSetVisible(gv_savedUnitsDialog2, PlayerGroupAll(), false)
// L3297
DialogControlSetVisible(gv_controlTipStartButton, PlayerGroupAll(), true)
// L3324
DialogControlSetVisible(gv_controlTipStartButton, PlayerGroupAll(), false)
// L3720
DialogControlSetVisible(gv_uI_LifeLabelLargeIcon, PlayerGroupAll(), false)
// L3727
DialogControlSetVisible(DialogControlLastCreated(), PlayerGroupAll(), false)
// L3743
DialogControlSetVisible(gv_uI_BombLabelLargeIcon, PlayerGroupAll(), false)
// L3750
DialogControlSetVisible(DialogControlLastCreated(), PlayerGroupAll(), false)
// L3787
DialogControlSetVisible(gv_uI_LifeIcons[lv_index], PlayerGroupAll(), false)
// L3790
DialogControlSetVisible(gv_uI_LifeLabel, PlayerGroupAll(), true)
// L3791
DialogControlSetVisible(gv_uI_LifeLabelLargeIcon, PlayerGroupAll(), true)
// L3794
DialogControlSetVisible(gv_uI_LifeLabel, PlayerGroupAll(), false)
// L3472
DialogControlSetVisible(gv_fullscreenImageDialogImage, PlayerGroupAll(), true)
// L4758
DialogControlSetVisible(lp_button, PlayerGroupAll(), true)
// L4763
DialogControlSetVisible(lp_button, PlayerGroupAll(), false)
// L4835
DialogControlSetVisible(lp_button, PlayerGroupAll(), true)
// L4840
DialogControlSetVisible(lp_button, PlayerGroupAll(), false)
// L10421
DialogControlSetVisible(DialogControlLastCreated(), PlayerGroupAll(), false)
// L10592
DialogControlSetVisible(gv_zPlanetPanel_ButtonPlay, PlayerGroupAll(), true)
// L10595
DialogControlSetVisible(gv_zPlanetPanel_ButtonPlay, PlayerGroupAll(), false)
// L797
DialogControlSetVisible(gv_replay_Transmission_Border_Main, PlayerGroupAll(), true)
// L806
DialogControlSetVisible(gv_replay_Transmission_Border_Tutorial, PlayerGroupAll(), true)
// L812
DialogControlSetVisible(gv_replay_Transmission_Border_Tutorial, PlayerGroupAll(), false)
// L814
DialogControlSetVisible(gv_replay_Transmission_Border_Main, PlayerGroupAll(), false)
// L1253
DialogControlSetVisible(gv_replay_Transmission_Border_Tutorial, PlayerGroupAll(), false)
// L1265
DialogControlSetVisible(gv_replay_Transmission_Border_Main, PlayerGroupAll(), false)
// L1518
DialogControlSetVisible(gv_replay_Transmission_Border_Main, PlayerGroupAll(), true)
// L3297
DialogControlSetVisible(gv_controlTipStartButton, PlayerGroupAll(), true)
// L3324
DialogControlSetVisible(gv_controlTipStartButton, PlayerGroupAll(), false)
// L3720
DialogControlSetVisible(gv_uI_LifeLabelLargeIcon, PlayerGroupAll(), false)
// L3727
DialogControlSetVisible(DialogControlLastCreated(), PlayerGroupAll(), false)
// L3743
DialogControlSetVisible(gv_uI_BombLabelLargeIcon, PlayerGroupAll(), false)
// L3750
DialogControlSetVisible(DialogControlLastCreated(), PlayerGroupAll(), false)
// L3787
DialogControlSetVisible(gv_uI_LifeIcons[lv_index], PlayerGroupAll(), false)
// L3790
DialogControlSetVisible(gv_uI_LifeLabel, PlayerGroupAll(), true)
// L3791
DialogControlSetVisible(gv_uI_LifeLabelLargeIcon, PlayerGroupAll(), true)
// L3794
DialogControlSetVisible(gv_uI_LifeLabel, PlayerGroupAll(), false)
// L3472
DialogControlSetVisible(gv_fullscreenImageDialogImage, PlayerGroupAll(), true)
// L4758
DialogControlSetVisible(lp_button, PlayerGroupAll(), true)
// L4763
DialogControlSetVisible(lp_button, PlayerGroupAll(), false)
// L4835
DialogControlSetVisible(lp_button, PlayerGroupAll(), true)
// L4840
DialogControlSetVisible(lp_button, PlayerGroupAll(), false)
// L10421
DialogControlSetVisible(DialogControlLastCreated(), PlayerGroupAll(), false)
// L10592
DialogControlSetVisible(gv_zPlanetPanel_ButtonPlay, PlayerGroupAll(), true)
// L10595
DialogControlSetVisible(gv_zPlanetPanel_ButtonPlay, PlayerGroupAll(), false)
// L797
DialogControlSetVisible(gv_replay_Transmission_Border_Main, PlayerGroupAll(), true)
// L806
DialogControlSetVisible(gv_replay_Transmission_Border_Tutorial, PlayerGroupAll(), true)
// L812
DialogControlSetVisible(gv_replay_Transmission_Border_Tutorial, PlayerGroupAll(), false)
// L814
DialogControlSetVisible(gv_replay_Transmission_Border_Main, PlayerGroupAll(), false)
// L1253
DialogControlSetVisible(gv_replay_Transmission_Border_Tutorial, PlayerGroupAll(), false)
// L1265
DialogControlSetVisible(gv_replay_Transmission_Border_Main, PlayerGroupAll(), false)
// L1518
DialogControlSetVisible(gv_replay_Transmission_Border_Main, PlayerGroupAll(), true)
// L649
DialogControlSetVisible(gv_savedUnitsDialog2, PlayerGroupAll(), false)
// L1010
DialogControlSetVisible(gv_savedUnitsDialog2, PlayerGroupAll(), false)
// L1269
DialogControlSetVisible(gv_savedUnitsDialog2, PlayerGroupAll(), false)
# campaigns/libertystory.sc2campaign
// L5718
DialogControlSetVisible(DialogControlLastCreated(), PlayerGroupAll(), false)
// L5726
DialogControlSetVisible(DialogControlLastCreated(), PlayerGroupAll(), false)
// L5832
DialogControlSetVisible(libCamp_gv_tS_RoomChangeButtons[lp_buttonId], PlayerGroupAll(), true)
// L5833
DialogControlSetVisible(libCamp_gv_tS_RoomChangeButtonBG[lp_buttonId], PlayerGroupAll(), false)
// L5834
DialogControlSetVisible(libCamp_gv_tS_RoomChangeButtonText[lp_buttonId], PlayerGroupAll(), false)
// L5838
DialogControlSetVisible(libCamp_gv_tS_RoomChangeButtons[lp_buttonId], PlayerGroupAll(), true)
// L5839
DialogControlSetVisible(libCamp_gv_tS_RoomChangeButtonBG[lp_buttonId], PlayerGroupAll(), false)
// L5840
DialogControlSetVisible(libCamp_gv_tS_RoomChangeButtonText[lp_buttonId], PlayerGroupAll(), false)
// L5844
DialogControlSetVisible(libCamp_gv_tS_RoomChangeButtons[lp_buttonId], PlayerGroupAll(), false)
// L5845
DialogControlSetVisible(libCamp_gv_tS_RoomChangeButtonBG[lp_buttonId], PlayerGroupAll(), true)
# campaigns/swarm.sc2campaign
// L5071
DialogControlSetVisible(gv_s3EscapeDialogTitle, PlayerGroupAll(), true)
// L5075
DialogControlSetVisible(gv_s3EscapeDialogTimeRemaining, PlayerGroupAll(), true)
// L696
DialogControlSetVisible(gv_escapePodDlgProgressBar[lp_escapePodNo], PlayerGroupAll(), false)
// L701
DialogControlSetVisible(gv_escapePodDlgProgressBar[lp_escapePodNo], PlayerGroupAll(), true)
// L712
DialogControlSetVisible(gv_escapePodDlgBorder[lp_escapePodNo], PlayerGroupAll(), lp_showHideOptions)
// L713
DialogControlSetVisible(gv_escapePodDlgLabel[lp_escapePodNo], PlayerGroupAll(), lp_showHideOptions)
// L714
DialogControlSetVisible(gv_escapePodDlgProgressBar[lp_escapePodNo], PlayerGroupAll(), lp_showHideOptions)
// L715
DialogControlSetVisible(gv_escapePodDlgValue[lp_escapePodNo], PlayerGroupAll(), lp_showHideOptions)
// L421
DialogControlSetVisible(gv_templeChannelUINameLabel, PlayerGroupAll(), lp_showHide)
// L422
DialogControlSetVisible(gv_templeChannelUITime, PlayerGroupAll(), lp_showHide)
// L423
DialogControlSetVisible(gv_templeChannelUIProgressBar, PlayerGroupAll(), lp_showHide)
// L424
DialogControlSetVisible(gv_templeChannelUIBorder, PlayerGroupAll(), lp_showHide)
// L1724
DialogControlSetVisible(gv_nullZoneTugOfWar, PlayerGroupAll(), true)
// L1735
DialogControlSetVisible(gv_nullZoneBarPanel, PlayerGroupAll(), true)
// L671
DialogControlSetVisible(gv_bileLauncherDlgProgressBar[lp_index], PlayerGroupAll(), false)
// L676
DialogControlSetVisible(gv_bileLauncherDlgProgressBar[lp_index], PlayerGroupAll(), true)
// L686
DialogControlSetVisible(gv_bileLauncherDlgLabel[lp_index], PlayerGroupAll(), lp_showHideOptions)
// L687
DialogControlSetVisible(gv_bileLauncherDlgValue[lp_index], PlayerGroupAll(), lp_showHideOptions)
// L688
DialogControlSetVisible(gv_bileLauncherDlgProgressBar[lp_index], PlayerGroupAll(), lp_showHideOptions)
// L689
DialogControlSetVisible(gv_bileLauncherDlgBorder[lp_index], PlayerGroupAll(), lp_showHideOptions)
// L6422
DialogControlSetVisible(lv_labelReleaseZerg, PlayerGroupAll(), true)
// L6437
DialogControlSetVisible(lv_labelReleaseGas, PlayerGroupAll(), true)
// L899
DialogControlSetVisible(gv_meatDialogProgressBar[lp_meatIndex], PlayerGroupAll(), false)
// L903
DialogControlSetVisible(gv_meatDialogProgressBar[lp_meatIndex], PlayerGroupAll(), true)
// L911
DialogControlSetVisible(gv_meatDialogBorder[lp_meatIndex], PlayerGroupAll(), lp_showHide)
// L912
DialogControlSetVisible(gv_meatDialogLabel[lp_meatIndex], PlayerGroupAll(), lp_showHide)
// L913
DialogControlSetVisible(gv_meatDialogProgressBar[lp_meatIndex], PlayerGroupAll(), lp_showHide)
// L914
DialogControlSetVisible(gv_meatDialogValue[lp_meatIndex], PlayerGroupAll(), lp_showHide)
// L696
DialogControlSetVisible(gv_escapePodDlgProgressBar[lp_escapePodNo], PlayerGroupAll(), false)
// L701
DialogControlSetVisible(gv_escapePodDlgProgressBar[lp_escapePodNo], PlayerGroupAll(), true)
// L712
DialogControlSetVisible(gv_escapePodDlgBorder[lp_escapePodNo], PlayerGroupAll(), lp_showHideOptions)
// L713
DialogControlSetVisible(gv_escapePodDlgLabel[lp_escapePodNo], PlayerGroupAll(), lp_showHideOptions)
// L714
DialogControlSetVisible(gv_escapePodDlgProgressBar[lp_escapePodNo], PlayerGroupAll(), lp_showHideOptions)
// L715
DialogControlSetVisible(gv_escapePodDlgValue[lp_escapePodNo], PlayerGroupAll(), lp_showHideOptions)