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

Options list

Status
Not open for further replies.
Level 4
Joined
Oct 24, 2008
Messages
64
o_O im bad at discribing so im going to give an example.
ok in some games which i play sometimes usally at the start to choose
game options a little menu pops up and if you click the buttons
it changes game mode o_O quite simply how do i make one.
 
Level 4
Joined
Oct 24, 2008
Messages
64
...............yea i understand that :)

yea ty but im confused O_O i looked a dialog and i dont understand how to actually make the thing apper and how to actually click the buttons :eek: ty for the help but im stupid and need more ;)
 
Level 7
Joined
Dec 3, 2008
Messages
189
First, when you REALLY don't know ANYTHING about variables, I would have a look on a variable-tutorial first. But if you know what it is, you could also make THIS Trigger:
(Srry I couldn't make a good pic :)
Variables needed:

YourDialog (Type: Dialog)
DialogButton1 (Type: Dialog Button)
DialogButton2 (Type: Dialog Button)

Trigger Number 1:
Action:
Elapsed game-time is 0.01 seconds.
Condition:
/
Actions:
Create a dialog-button for (YourDialog) named (Hard game)
Variable: Set DialogButton1 = Last created dialog-button.
Create a dialog-button for (YourDialog) named (Easy game)
Variable: Set DialogButton2 = Last created dialog-button.
Dialog: Show (YourDialog)


In this trigger you made, that the dialog appears and you see the buttons. Now we have to make, that when you click one of the buttons, something will happen.

Trigger 2:
Event: A dialog-button is clicked for (YourDialog)
Condition: Clicked dialog-button = DialogButton1
Action: Set (Now the thing, that will happen if you click this dialog-button...)


Now you make this with the other dialog-button, too. I hope you understand this. If yes, whisper me and/or plz give me some +rep. I need it :)
 
Status
Not open for further replies.
Top