Description
Provides the value of a new hero setting that will appear in the Workshop Settings card as a combo box.
Snippet
Workshop Setting Hero(Custom String(""), Custom String(""), Ana, 0);
Properties
Returns: Hero
Parameters: Category, Name, Default, 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: Hero, Default: Ana
The default 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.