# Show/Hide Dialog

Grammarvisible|Show/Hide dialog for players
FlagsNative | Action

Shows or hides the specified dialog. A dialog needs to be shown in order to be seen.

# Arguments

  • int [ dialog ] — Dialog
  • playergroup — Players
  • bool [ preset::ShowHideOption ] — Visible

Returns — void

native void DialogSetVisible(
	int dialog,
	playergroup players,
	bool isVisible,
);

Category: Dialog / Dialogs

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L3206
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L3238
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L3301
DialogSetVisible(gv_controlTipDialog, PlayerGroupAll(), true)
// L3319
DialogSetVisible(gv_controlTipDialog, PlayerGroupAll(), false)
// L3329
DialogSetVisible(gv_controlTipDialog, PlayerGroupAll(), false)
// L3538
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L3553
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L3610
DialogSetVisible(gv_bossHPBarDlg, PlayerGroupAll(), true)
// L3611
DialogSetVisible(gv_bossHPBarLabelDlg, PlayerGroupAll(), true)
// L3658
DialogSetVisible(gv_unitHPBarDlg, PlayerGroupAll(), true)
// L3040
DialogSetVisible(gv_buttonComputer01SecurityCam, PlayerGroupAll(), true)
// L3160
DialogSetVisible(gv_buttonComputer01DeactivateLeftFloorGuns, PlayerGroupAll(), true)
// L3165
DialogSetVisible(gv_buttonComputer01DeactivateRightFloorGuns, PlayerGroupAll(), true)
// L3689
DialogSetVisible(gv_buttonComputer01SecurityCam, PlayerGroupAll(), false)
// L3741
DialogSetVisible(gv_buttonComputer01SecurityCam, PlayerGroupAll(), false)
// L3779
DialogSetVisible(gv_buttonComputer01SecurityCam, PlayerGroupAll(), false)
// L3817
DialogSetVisible(gv_buttonComputer01SecurityCam, PlayerGroupAll(), false)
// L4029
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L4049
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L4069
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L2331
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L2621
DialogSetVisible(gv_tBDWindowDialog, PlayerGroupAll(), true)
// L3329
DialogSetVisible(gv_newItems[lp_newItemIndex].lv_dialog, PlayerGroupAll(), lp_hideShow)
// L3473
DialogSetVisible(gv_fullscreenImageDialog, PlayerGroupAll(), true)
// L3482
DialogSetVisible(gv_fullscreenImageDialog, PlayerGroupAll(), lp_showHide)
// L3955
DialogSetVisible(gv_armoryGradientDialog, PlayerGroupAll(), false)
// L4788
DialogSetVisible(gv_roomCheatDialog, PlayerGroupAll(), true)
// L4793
DialogSetVisible(gv_roomCheatDialog, PlayerGroupAll(), false)
// L4864
DialogSetVisible(gv_roomCameraDialog, PlayerGroupAll(), true)
// L4869
DialogSetVisible(gv_roomCameraDialog, PlayerGroupAll(), false)
// L663
DialogSetVisible(gv_mainDialog, PlayerGroupAll(), false)
// L664
DialogSetVisible(gv_tutorialDialog, PlayerGroupAll(), false)
// L795
DialogSetVisible(gv_replay_Transmission_Dialog_Main, PlayerGroupAll(), true)
// L803
DialogSetVisible(gv_tutorialDialog, PlayerGroupAll(), true)
// L804
DialogSetVisible(gv_replay_Transmission_Dialog_Tutorial, PlayerGroupAll(), true)
// L811
DialogSetVisible(gv_replay_Transmission_Dialog_Tutorial, PlayerGroupAll(), false)
// L813
DialogSetVisible(gv_replay_Transmission_Dialog_Main, PlayerGroupAll(), false)
// L1208
DialogSetVisible(gv_mainDialog, PlayerGroupAll(), true)
// L1209
DialogSetVisible(gv_tutorialDialog, PlayerGroupAll(), false)
// L1258
DialogSetVisible(gv_replay_Transmission_Dialog_Tutorial, PlayerGroupAll(), false)
// L648
DialogSetVisible(gv_savedUnitsDialog, PlayerGroupAll(), false)
// L1009
DialogSetVisible(gv_savedUnitsDialog, PlayerGroupAll(), false)
// L439
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L1667
DialogSetVisible(lv_racingStartDIALOG, PlayerGroupAll(), true)
// L1672
DialogSetVisible(lv_racingStartDIALOG, PlayerGroupAll(), false)
// L971
DialogSetVisible(lv_racingStartDIALOG, PlayerGroupAll(), true)
// L976
DialogSetVisible(lv_racingStartDIALOG, PlayerGroupAll(), false)
// L1008
DialogSetVisible(lv_racingStartDIALOG, PlayerGroupAll(), true)
// L1013
DialogSetVisible(lv_racingStartDIALOG, PlayerGroupAll(), false)
// L1268
DialogSetVisible(gv_savedUnitsDialog, PlayerGroupAll(), false)
// L536
DialogSetVisible(lv_racingStartDIALOG, PlayerGroupAll(), true)
// L544
DialogSetVisible(lv_racingStartDIALOG, PlayerGroupAll(), false)
// L798
DialogSetVisible(lv_racingStartDIALOG, PlayerGroupAll(), true)
// L806
DialogSetVisible(lv_racingStartDIALOG, PlayerGroupAll(), false)
// L1515
DialogSetVisible(lv_racingStartDIALOG, PlayerGroupAll(), true)
// L1520
DialogSetVisible(lv_racingStartDIALOG, PlayerGroupAll(), false)
// L1576
DialogSetVisible(lv_racingStartDIALOG, PlayerGroupAll(), true)
// L1581
DialogSetVisible(lv_racingStartDIALOG, PlayerGroupAll(), false)
// L3206
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L3238
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L3301
DialogSetVisible(gv_controlTipDialog, PlayerGroupAll(), true)
// L3319
DialogSetVisible(gv_controlTipDialog, PlayerGroupAll(), false)
// L3329
DialogSetVisible(gv_controlTipDialog, PlayerGroupAll(), false)
// L3538
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L3553
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L3610
DialogSetVisible(gv_bossHPBarDlg, PlayerGroupAll(), true)
// L3611
DialogSetVisible(gv_bossHPBarLabelDlg, PlayerGroupAll(), true)
// L3658
DialogSetVisible(gv_unitHPBarDlg, PlayerGroupAll(), true)
// L3040
DialogSetVisible(gv_buttonComputer01SecurityCam, PlayerGroupAll(), true)
// L3160
DialogSetVisible(gv_buttonComputer01DeactivateLeftFloorGuns, PlayerGroupAll(), true)
// L3165
DialogSetVisible(gv_buttonComputer01DeactivateRightFloorGuns, PlayerGroupAll(), true)
// L3689
DialogSetVisible(gv_buttonComputer01SecurityCam, PlayerGroupAll(), false)
// L3741
DialogSetVisible(gv_buttonComputer01SecurityCam, PlayerGroupAll(), false)
// L3779
DialogSetVisible(gv_buttonComputer01SecurityCam, PlayerGroupAll(), false)
// L3817
DialogSetVisible(gv_buttonComputer01SecurityCam, PlayerGroupAll(), false)
// L4029
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L4049
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L4069
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L2331
DialogSetVisible(DialogLastCreated(), PlayerGroupAll(), true)
// L2621
DialogSetVisible(gv_tBDWindowDialog, PlayerGroupAll(), true)
// L3329
DialogSetVisible(gv_newItems[lp_newItemIndex].lv_dialog, PlayerGroupAll(), lp_hideShow)
// L3473
DialogSetVisible(gv_fullscreenImageDialog, PlayerGroupAll(), true)
// L3482
DialogSetVisible(gv_fullscreenImageDialog, PlayerGroupAll(), lp_showHide)
// L3955
DialogSetVisible(gv_armoryGradientDialog, PlayerGroupAll(), false)
// L4788
DialogSetVisible(gv_roomCheatDialog, PlayerGroupAll(), true)
// L4793
DialogSetVisible(gv_roomCheatDialog, PlayerGroupAll(), false)
// L4864
DialogSetVisible(gv_roomCameraDialog, PlayerGroupAll(), true)
// L4869
DialogSetVisible(gv_roomCameraDialog, PlayerGroupAll(), false)
// L663
DialogSetVisible(gv_mainDialog, PlayerGroupAll(), false)
// L664
DialogSetVisible(gv_tutorialDialog, PlayerGroupAll(), false)
// L795
DialogSetVisible(gv_replay_Transmission_Dialog_Main, PlayerGroupAll(), true)
// L803
DialogSetVisible(gv_tutorialDialog, PlayerGroupAll(), true)
// L804
DialogSetVisible(gv_replay_Transmission_Dialog_Tutorial, PlayerGroupAll(), true)
// L811
DialogSetVisible(gv_replay_Transmission_Dialog_Tutorial, PlayerGroupAll(), false)
// L813
DialogSetVisible(gv_replay_Transmission_Dialog_Main, PlayerGroupAll(), false)
// L1208
DialogSetVisible(gv_mainDialog, PlayerGroupAll(), true)
// L1209
DialogSetVisible(gv_tutorialDialog, PlayerGroupAll(), false)
// L1258
DialogSetVisible(gv_replay_Transmission_Dialog_Tutorial, PlayerGroupAll(), false)
// L648
DialogSetVisible(gv_savedUnitsDialog, PlayerGroupAll(), false)
// L1009
DialogSetVisible(gv_savedUnitsDialog, PlayerGroupAll(), false)