Description
Provides the value of a new integer setting that will appear in the workshop settings card as a slider.
Snippet
Workshop Setting Integer(Custom String(""), Custom String(""), 0, 0, 100, 0);
Properties
Returns: Integer
Parameters: Category, Name, Default, Min, Max, Sort Order
Category
Type: String, Default: Custom String
The name of the category in which this setting will be found.Name
Type: String, Default: Custom String
The name of this setting.Default
Type: Float, Default: 0
The default value for this setting.Min
Type: Float, Default: 0
The lowest allowed value for this setting.Max
Type: Float, Default: 100
The highest allowed value 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.