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
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
nothing
- Source code
-
native DialogDisplay takes player whichPlayer, dialog whichDialog, boolean flag returns nothing