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

[JASS] Pop up box

Status
Not open for further replies.
Level 1
Joined
Oct 29, 2006
Messages
3
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
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
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
----------------------------------------------------
 
Status
Not open for further replies.
Top