Warcraft III resources & community, 2003–2006 · archived

dialogue help

5 posts
#1

dialogue help

cant seem to get them to work
#2
and the trigger?....
#3
You need variables to get them to work. One for the main dialog (board for buttons), and one for each button. Then you also need to make sure the dialog is destroyed when a button is pressed
#4
Create dialog "alpha"
dialog-text for dialog "alpha" :here is your text
set (button variable) = last created button
^^

that's all
for using of it next trigger:

button clicked
clicked button := your button variable
Do
.....

also you may do this way
you may make a trigger for using different players for 1 trigger
example:

button clicked
clicked button := your button variable
Do
if triggering player = player 1
then do ...
if triggering player = player 2
then do ...
and etc.
#5
k thanks