You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _doc/stdlib/util/dialogbox.md
+15-11Lines changed: 15 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,20 +12,22 @@ sections:
12
12
In warcraft III a dialog refers to a modal dialog that is shown to players with a message text and various buttons to click.
13
13
Dialogs have several drawbacks, such as disabling user input and chat, and thus should only be seldomly used in multiplayer.
14
14
15
+
> Dialogs cannot be created during map init!
16
+
15
17
### The DialogBox
16
18
17
19
If you want to create a dialog though, make use of the `DialogBox` class. You can eiher reuse the same `DialogBox` and use `GetTriggerPlayer()` to get the player in the click event:
0 commit comments