Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: verion on December 14, 2015, 12:20:01 PM

Title: [solved] how to force specific layout option list order?
Post by: verion on December 14, 2015, 12:20:01 PM
In my theme layout options are in "random" order. Well... at least not in the order that is coded in layout.nut file.

Is there a way to force specific list order?

A small thing, but this really drives me mad.
I have three options regarding background - one is on 3rd position of the list, second is on 5th and third option is on 7th.

Title: Re: [help] how to force specific layout option list order?
Post by: liquid8d on December 14, 2015, 12:47:33 PM
just add order=x where x is the numbered order:

Code: [Select]
</ label="Player Up", help="Set player controls", is_input="yes", order=1 />
p1_up="R";
Title: Re: [help] how to force specific layout option list order?
Post by: verion on December 14, 2015, 01:34:12 PM
Thank you.