• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Dialog is not displayed

Status
Not open for further replies.
Level 2
Joined
Jun 10, 2008
Messages
13
I've created two very simply triggers,
the first get runned by the initialisation, here the dialog and the buttons becomes definied,
the second is the trigger to find out which button was clicked.
When I start the Map nothing will happen.
If I change the events of the first to Time Elapsed (1sec.), I'll see following:
NoDialog.png

The game has stopped and the colors changed to a "Dialog background", but the dialog isn't there.
Can anyone help me? My Warcraft is at the newes version (from Bnet) and I had often problems with this version...

First Trigger
  • ModeSelection1
    • Ereignisse
    • Bedingungen
    • Aktionen
      • Dialog - Change the title of ModeDialog to Mode
      • Dialog - Create a dialog button for ModeDialog labelled Coop-Modus
      • Set ModeDialogButtons[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for ModeDialog labelled PvP-Modus
      • Set ModeDialogButtons[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for ModeDialog labelled Team-Deathmatch (Pv...
      • Set ModeDialogButtons[3] = (Last created dialog Button)
      • Dialog - Zeigen ModeDialog for Spieler 1 (Rot)
Second Trigger
  • ModeSelection2
    • Ereignisse
      • Dialog - A dialog button is clicked for ModeDialog
    • Bedingungen
    • Aktionen
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • 'IF'-Bedingungen
          • (Clicked dialog button) Gleich ModeDialogButtons[1]
        • 'THEN'-Aktionen
          • Auslöser - Run CoopInitialisation <gen> (ignoring conditions)
        • 'ELSE'-Aktionen
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • 'IF'-Bedingungen
          • (Clicked dialog button) Gleich ModeDialogButtons[2]
        • 'THEN'-Aktionen
        • 'ELSE'-Aktionen
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • 'IF'-Bedingungen
          • (Clicked dialog button) Gleich ModeDialogButtons[3]
        • 'THEN'-Aktionen
        • 'ELSE'-Aktionen
 
Level 16
Joined
May 1, 2008
Messages
1,605
Seas =)

Hmm I take for dialogs always this:
  • Testtrigger035
    • Events
      • Time - Elapsed game time is 0.01 seconds
    • Conditions
    • Actions
      • Dialog - Clear TestDialog
      • Dialog - Change the title of TestDialog to What mode?
      • Dialog - Create a dialog button for TestDialog labelled Mode 1
      • Set TestDialogButton[0] = (Last created dialog Button)
      • Dialog - Create a dialog button for TestDialog labelled Mode 2
      • Set TestDialogButton[1] = (Last created dialog Button)
      • Dialog - Show TestDialog for Player 1 (Red)
...works always.

Your trigger isn't different BUT, make sure (I don't see any Event (Ereigniss) on your first trigger), that you don't run the dialog with
  • Map initialization
You need to wait 0.01 seconds before you can show any dialog
 
Level 2
Joined
Jun 10, 2008
Messages
13
Thank you for the tip, but my problem is a little bit diffrent.
Even when i try
  • Time - Elapsed game time is 1.00 seconds
I'll only see:
NoDialog.png

maybe it looks like a simply screenshot from nothing, but the game has stoppe like when a dialog has opened, but there is no dialog.
On older versions of the editor dialogs allways worked, as you sad, but now i have this problem.:cry:

Here is a Screenshot before the dialog should come (to compare)
NoDialog2.png
 
Level 16
Joined
May 1, 2008
Messages
1,605
Seas =)

Ok that's really o m g

Game is stopped by something else - dialog should shown in this case to. X
Maybe you did a variable wrong? - But if I look at your trigger, everything is fine X
You don't run the dialog at map init. X

Hmm as I said you don't have any Events in the first trigger. How you want show this dialog? (You run it with another trigger?) If yes, maybe theres a mistake ...

I don't think that this is an editor problem....
So if the Trigger, you run the dialog with, is correct to, then I really don't know.
 
Level 2
Joined
Jun 10, 2008
Messages
13
I saved the map on desktop to upload it for you, and when i tested it it works fine O,o
anyway,
Thank you very much for your help!
 
Status
Not open for further replies.
Top