• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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: 161
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