| 03-14-2006, 05:55 PM | #1 |
I was trying to make a dialogue button on my map and i'm having problems. Can someone tell me the triggers and procedures of making a dialogue button that has a title and some buttons and what events and conditions i would use that would refer to specific buttons being clicked? I would really appreciate it. i searched the tuturial for dialogues but I found nothing so don't get mad at me for asking. |
| 03-14-2006, 06:02 PM | #2 |
The triggers are fairly self explainatory. Just remember to set buttons to variables, and that you can't create dialogs at map initialisation. |
| 03-14-2006, 06:03 PM | #3 |
Firstly edit variables and create "dialog" and "dialog button". Let's say you name them as following "dialog1" and "dialog1_bttn". Make sure that "Array" box is marked on buttons. Then create trigger: [ACTIONS] - Clear dialog (dialog1) - Set title for (dialog1) - Create dialog button for (dialog1) labelled (anything you want) - Set variable (dialog1_bttn [1] ) last created dialog button - Show dialog1 to (player1) So here we created dialog, button for it and set it as a variable. Notice that checking "array" box makes it possible to "store" multiple thingies under one title just by changing the array number. Then, we make another trigger which defines what happens when you hit the dialog button. [EVENTS] - Dialog button is clicked for (dialog1) [CONDITIONS] - Clicked dialog button equal to (dialog_bttn [1]) [ACTIONS] - Whatever you want to.. That's pretty simple. |
| 03-14-2006, 06:50 PM | #4 |
thanks dude. |
