HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help w/ Dialog Buttons

10-13-2002, 08:56 PM#1
Guest
I need a little help with dialog buttons. When I create more than one dialog button it only shows the last created. The test map attached pretty much shows what I want to do.

Thanks to anyone who helps. (Ganon)
10-13-2002, 09:17 PM#2
Draco
Without even looking at your map:

First - Create a 'dialog button' (array) variable. (If you don't know how to do this or know what an a array is; ask someone)

Second - Refer to the dialog buttons in the array and not 'last created dialog button'.

BTW: create all buttons and assign them variables before you show the dialog.
10-13-2002, 09:43 PM#3
Guest
Whats the interaction between the creation and the showing.
How do you tell it to show the "array" ?
And I did not use the lasted created button function.

Edit: I dont quite understand why this test doesnt work. I have been playing w/ SuperIkI dialog engine, but im not sure if I can modifiy it enough with my limited grasp of custom text. Any more suggestions would be great. emote_confused
10-13-2002, 11:21 PM#4
Draco
Try making your own setup in GUI if you need to understand it better.

1. Do you know how to make a dialog button array?

2. Trigger Action: Create a dialog button for (currentdialog)

3. Use the trigger action: Set Variable - Set dialogbutton [1] to last created dialog button etc.

4. Show dialog (currentdialog)
10-14-2002, 12:54 AM#5
Guest
How do you have more than one button appear?
10-14-2002, 01:00 AM#6
weaaddar
Your problem is that you added the buttons to DIFFERENT DIALOGS. Add it to the same dialog next time.
10-14-2002, 02:38 AM#7
Draco
Lol. Yeah you have to put them all on the same dialog and then show that dialog.
10-14-2002, 03:09 AM#8
Guest
Haha. Lol. I did not know that. dialog like dialog menu. haha. Ok that whats up. Thanks Draco and Weaadar.
10-15-2002, 01:43 AM#9
Draco
Thank Weaaddar. I was too lazy to dL your map. ;)
10-15-2002, 03:24 AM#10
weaaddar
Sigh I was too lazy to fix it or give helpful advice! I just explain what was wrong! (See I'm lazier I think)