| 08-20-2004, 01:55 PM | #1 |
Okay, I know how to make a dialog, I know how to make the buttons, I know how to make it appear so you can click on a button, but here comes the retarded part... how the hell do you link clicking on a specific button to a trigger? As far as I'm concerned this is done by a couple of simple triggers... Event - Dialog button is clicked. Condition - Dialog button clicked is equal to --- ??????? I can't link any variables to eachother at this point. How do I specify which dialog button is clicked? |
| 08-20-2004, 02:02 PM | #2 |
make variable that is dialogbutton, now go to the trigger that makes the dialog buttons and do just like this: Actions Dialog - Create a dialog button for DuelDialogInvited labelled Accept Set DialogButtons[12] = (Last created dialog Button) Dialog - Create a dialog button for DuelDialogInvited labelled Decline Set DialogButtons[13] = (Last created dialog Button) this is for my duel system you can name it what ever you want. |
| 08-20-2004, 02:15 PM | #3 |
That's funny, I tried to that but it wont let me do a Dialogbutton for the variable... I guess I just have to look harder :/ Edit: Oh, cool, I got it. Thanks that helped. |
| 08-20-2004, 02:42 PM | #4 |
can I get reputation :P? |
| 08-21-2004, 12:42 AM | #5 |
lol sure ^_^ |
