ID:2338736
 
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
Basically some sort of input class that is similar to the standard anything in list() syntax, but allows for the use of holding ctrl to select multiple items.


Likely would be done as so:

/client/verb/pick_accessaries(var/list/accs as list in list(blah, blah2, blah3))


Client side you can either do a normal combo box with multiple selections enabled, or make something where clicking on an item toggles it's selection normally, so the user doesn't have to hold control. Maybe even add some checkboxs!

The biggest use /tg/ sees this getting is for bitflag vars when map editing, using the var/blah as anything in list() syntax. We currently have to have the mapper provide a string and convert to a bitflag on New(), a way to provide a list to the mapper of possible values that allows for multiple items to be selected in the mapeditor would be much more mapper friendly. However this feature request could even be expanded with direct bitflag support as another input type, ... as bitflag in list(....)
This would require implementing a list box.

https://msdn.microsoft.com/en-us/library/windows/desktop/ bb775146(v=vs.85).aspx

Would kill for list boxes, splitbuttons, and combo lists to be skin elements.

(and group boxes)
In response to Ter13
Ter13 wrote:
This would require implementing a list box.

https://msdn.microsoft.com/en-us/library/windows/desktop/ bb775146(v=vs.85).aspx

Would kill for list boxes, splitbuttons, and combo lists to be skin elements.

(and group boxes)

and drop downs
you could just do this as an HTML interface though MSO
oranges you can't add a html interface to the map editor's var editor, but you can use input type hints in vars to control how that var's edit control behaves. It's in the red book.
I should read your posts all the way through