2016-01-27, 17:59
(2016-01-27, 14:18)Jayz2K Wrote: Coming back to the Skin.String through DialogSelect, is it possible to resolve $LOCALIZE[] as value before writing it ? I localized all my values because when there's only 2 option, I keep using onclick to minimize the click amount.
Also, what the "Description" argument is intended for ? Is it just for Skinner infos and can it used as a property or something in DialogSelect.xml ?
Thanks
EDIT : Forget that, just realized when a string is written in a language, it will break everything if switching to another :/
Like you found out for yourself, not recommended to localize the values as it will break when the language changes. The label is meant to do that. The script will make sure to correctly localize the labels when the language has changed.
Description tag will be set as label2 to the listitems so you can show a description in your dialogselect