• 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.

[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: 163
Last edited:
Level 23
Joined
Nov 29, 2006
Messages
2,482
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)
 
Level 10
Joined
Nov 23, 2006
Messages
592
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 :-(
 
Level 23
Joined
Nov 29, 2006
Messages
2,482
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.
Top