Attract-Mode Support Forum
Attract-Mode Support => Scripting => Topic started by: bionictoothpick on March 22, 2016, 05:31:38 PM
-
What determines the order of the layout options?
I have them listed in the order I want in the layout.nut file, but they aren't displayed in that order within attractmode.
-
What determines the order of the layout options?
I have them listed in the order I want in the layout.nut file, but they aren't displayed in that order within attractmode.
Add order=x attributes to each of the options. eg:
class UserConfig </ help="description of my layout" />
{
</ label="option 1", help="option 1 description", options="value1,value2", order=2 /> option1 = "value1";
</ label="option 2", help="option 2 description", options="value1,value2", order=1 /> option2 = "value1";
}
would display in the order:
option 2
option 1
-
Thanks! The display order shows option 1 at top when looking...as hoped.