I kind of got inspired by an issue the authors of YABOT (Yet Another Build Order Trainer) map are having and some of you might as well with the limts of listboxs and dropdown boxes contents. Mainly that there is no real way to modify them once you set them up, ie the problem YABOT is having is changing the text value of a listbox item. So thie idea behind this Libary i've started working on is to allow you to do just that and many more. Dyanmicly allowing you to create/modify/reorder/remove/etc. dialog listboxs contents at a whim. I have a youtube video that shows the proof of concept and what I have so far. I know blizzard may fix this issue with its listboxs and dropdowns allowing us to directly modify it, but I figure its a good exerice for me and hopeully helpfull to all of you.
So how does this basicly work? Simple, right now you can have upto 25 dialog items associated with a list, and each list can hold upto 100 items. So say you have 3 listboxes, you use a simple trigger to assocate the stored varible of each listbox (ex: DialogList1, DialogList2, DialogList3) and then select from a list of presets (List 1-25). Now with that done you can add or modify or remove or reorder each indvinduual item from the associated listbox by simply specifing the ID (a unquie string). Very basic concept.
All I have working right now for a proof of concept, is being able to acutally add new items to a list box in real time. Any feedback is appricated including suggestions for specifc things you want to be able to do with your list items in a listbox. Thanks.
Hey everyone, i'm happy to report i've finshed the intial release of this libary. I have a youtube video up showing an example of how it all is working and i've setup the project page and uploaded the libary to the assets here on sc2mapster.com. Hope you all find it usefull, feel free to post feedback here on this thread. Download/Project Page
Thank you so much, this is such an awesome library, saved me so much grief playing with arrays in an attempt to get Blizzard's half-baked list dialogs to do what I wanted.
This library has pretty serious bug in the Reorder List function. It potentially resets the String IDs you input, if you use any numbers in your string.
To fix that, simply change
Hey everyone,
I kind of got inspired by an issue the authors of YABOT (Yet Another Build Order Trainer) map are having and some of you might as well with the limts of listboxs and dropdown boxes contents. Mainly that there is no real way to modify them once you set them up, ie the problem YABOT is having is changing the text value of a listbox item. So thie idea behind this Libary i've started working on is to allow you to do just that and many more. Dyanmicly allowing you to create/modify/reorder/remove/etc. dialog listboxs contents at a whim. I have a youtube video that shows the proof of concept and what I have so far. I know blizzard may fix this issue with its listboxs and dropdowns allowing us to directly modify it, but I figure its a good exerice for me and hopeully helpfull to all of you.
So how does this basicly work? Simple, right now you can have upto 25 dialog items associated with a list, and each list can hold upto 100 items. So say you have 3 listboxes, you use a simple trigger to assocate the stored varible of each listbox (ex: DialogList1, DialogList2, DialogList3) and then select from a list of presets (List 1-25). Now with that done you can add or modify or remove or reorder each indvinduual item from the associated listbox by simply specifing the ID (a unquie string). Very basic concept.
All I have working right now for a proof of concept, is being able to acutally add new items to a list box in real time. Any feedback is appricated including suggestions for specifc things you want to be able to do with your list items in a listbox. Thanks.
updated, youtube emdbed is now posted.
Hey everyone, i'm happy to report i've finshed the intial release of this libary. I have a youtube video up showing an example of how it all is working and i've setup the project page and uploaded the libary to the assets here on sc2mapster.com. Hope you all find it usefull, feel free to post feedback here on this thread. Download/Project Page
Thank you so much, this is such an awesome library, saved me so much grief playing with arrays in an attempt to get Blizzard's half-baked list dialogs to do what I wanted.
. .......
This library has pretty serious bug in the Reorder List function. It potentially resets the String IDs you input, if you use any numbers in your string. To fix that, simply change
to just
I think the library has some feature where IDs are option, so if you're using that then my solution here will probably just break more things for you.