Warcraft III resources & community, 2003–2006 · archived

Pop up box

2 posts
#1

Pop up box

ahhh this is my first time doing a option box trigger and i have no idea were to start. i dont realy want a scrpit code, more of a what trigger come next type of thing, like describe it. but any will to fine. Please help lol
#2
Heres the easy, GUI way

Make a Dialog variable called Dialog

Make 3 Dialog Button Variables called DialogA, DialogB, and DialogC

Now, in some trigger

Events
(whatever)
Conditions
(whatever)
Actions
Clear Dialog
Set Title of Dialog to Bob
Create a Dialog Button for Dialog called Choose Your Destiny
Set DialogA = Last Created Dialog Button
Create a Dialog Button for Dialog called Choose My Destiny
Set DialogB = Last Created Dialog Button
Create a Dialog Button for Dialog called Choose His Destiny
Set DialogC = Last Created Dialong Button
Player Group - Pick Every Player in (All Players) and do actions
Dialog - Show Dialog for Picked Player

----------------------------------------------------
another trigger
----------------------------------------------------

Events
A Dialog Button is clicked for Dialog
Conditions
Clicked Dialog Button equal to DialogA
Actions
Display "You have chosen your destiny!" to all plyers.
Hide Dialog for Triggering Player

----------------------------------------------------
another trigger for DialogB, and another for DialogC
----------------------------------------------------