Workshop.codes
Create

Workshop Setting Combo Last updated November 26, 2024

Description

Provides the value (a choice of Custom Strings) of a new option setting that will appear in the Workshop Settings card as a combo box. This value returns the index of the selected choice.

Snippet

Workshop Setting Combo(Custom String(""), Custom String(""), 0, Array, 0);

Properties

Returns: Object
Parameters: Category, Name, Default, Options, Sort Order

Category
Type: Object, Default: Custom String
The name of the category in which this setting will be found.

Name
Type: Object, Default: Custom String
The name of this setting.

Default
Type: Integer, Default: 0
The default value for this setting.

Options
Type: Array, Default: Array
The options for this setting.

Sort Order
Type: Integer, Default: 0
The sort order of the setting relative to other settings in the same category. Settings with a higher sort order will come after settings with a lower sort order.

Workshop.codes