DialogDisplay

Parameters
whichPlayer player

Target player to whom to show the dialog.

whichDialog dialog

Target dialog.

flag boolean

true to show (or refresh), false to hide.

comment

Open/close the dialog for the target player.

Since the dialogs are created for all players, they are hidden by default. Then you display the dialog to players who should see and interact with it.

note

Technically, because every player knows about each dialog, cheaters could interact with dialogs that are invisible to them.

note

Dialogs can not be shown at map-init. Use a wait or a zero-timer to display it as soon as possible.

patch

1.00

return type
nothing
Source code
native DialogDisplay                takes player whichPlayer, dialog whichDialog, boolean flag returns nothing
Source
common.j
wc3modding.com
DialogDisplay