• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Dialog buttons problem

Status
Not open for further replies.
Level 10
Joined
Nov 23, 2006
Messages
592
Hello. I have problem with dialogs buttons. Dialog itself show, but dialog buttons aren't showing. Here is my trigger:
  • Event - Elapsed game time is 1:00 seconds
  • Actions
  • Dialog - Clear MyDialog
  • Dialog - Change the title of MyDialog to xxxx
  • Dialog - Create a dialog button for MyDialog labelled Engineer
  • Set DialogButton[1]=(last created dialog button)
  • Dialog - Create a dialog button for MyDialog labelled Bazooka
  • Set DialogButton[2]=(last created dialog button)
  • Dialog - Create a dialog button for MyDialog labelled Shooter
  • Set DialogButton[3]=(last created dialog button)
  • Dialog - show MyDialog for player 1 (red)
 

Attachments

  • Problem.jpg
    Problem.jpg
    16.1 KB · Views: 213
Last edited:
If this is exactly what you have done, its nothing wrong with it.
I tested it in game and everything seems fine

  • Untitled Trigger 001
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Dialog - Clear MyDialog
      • Dialog - Change the title of MyDialog to xxx
      • Dialog - Create a dialog button for MyDialog labelled Engineer
      • Set DialogButton[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for MyDialog labelled Bazooka
      • Set DialogButton[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for MyDialog labelled Shooter
      • Set DialogButton[3] = (Last created dialog Button)
      • Dialog - Show MyDialog for Player 1 (Red)
 
If this is exactly what you have done, its nothing wrong with it.
I tested it in game and everything seems fine

  • Untitled Trigger 001
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Dialog - Clear MyDialog
      • Dialog - Change the title of MyDialog to xxx
      • Dialog - Create a dialog button for MyDialog labelled Engineer
      • Set DialogButton[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for MyDialog labelled Bazooka
      • Set DialogButton[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for MyDialog labelled Shooter
      • Set DialogButton[3] = (Last created dialog Button)
      • Dialog - Show MyDialog for Player 1 (Red)

Yeah...but it'S just not working...:/ Maybe I did something wrong with variables...but dunno what :-(
 
Well. The variables whould not make any difference, cause you really only need a dialog to create buttons...

Are you certain you are player red?
Also check that no "melee triggers" are still in the trigger script. It could lead to complications.

Sounds very odd indeed
 
Status
Not open for further replies.
Back
Top