Skip to content

Workshop Setting Real

Category, Name, Default, Min, Max, Sort order

Description

Provides the value of a new real number setting that will appear in the workshop settings card as a slider.

Snippet

Workshop Setting Real(Custom String(""), Custom String(""), 0, 0, 100, 0);

Properties

Returns: Float 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.

Type to search…

↑↓ navigate↵ selectEsc close