• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Please help with dialong buttons

Status
Not open for further replies.
Level 4
Joined
Feb 12, 2006
Messages
99
Remember to clear the dialog before you make the stuff for it or else it won't actually show the dialog buttons. I had that problem.
 
Level 5
Joined
Mar 12, 2005
Messages
117
ok heres a proper answer

Event: Time eplapsed 5 seconds (dialogs do not show up on map init)

action: dialog - clear mydialog (make mydialog variable as new dialog in variable windows ctrl b in trigger editor you dont have to call it mydialog i did just for wrtiing purposes)

dialog - change title of dialog to 'the dialog'

dialog - create button for mydialog name 'button'

setvariable - set button = last created dialog button (I almost forgot.. you need to make a variable as a dialog button same as first step but as a dialog button not new dialog)

dialog - show dialog to 'whatever player'

for more buttons just repeat the last 2 steps.

Then to work it

Event - dialog button click

condition - dialog button cliked = button

action - what ever you want the button to do.

hopefully that should be failry clear pm me if you still dont get it
 
Status
Not open for further replies.
Top