Description:
Add a command line option to get colors and automatically save the value.
Syntax:
Parameters:
- optionName
- Type: LocalizeStringPair
- option description.
- colorValue
- Type: OptionColor
- The current color value.
- prompt
- Type: string
- option prompt shown if the user selects this option
Returns:
Type: int
option index value (>0) or 0 if option cannot be added.
Available since:
5.0
Description:
Add a command line option to get colors and automatically save the value.
Syntax:
Parameters:
- optionName
- Type: LocalizeStringPair
- option description
- colorValue
- Type: OptionColor
- The current color value.
Returns:
Type: int
option index value (>0) or 0 if option cannot be added.
Available since:
5.0
Description:
Add a command line option to get colors and automatically save the value.
Syntax:
Parameters:
- englishName
- Type: string
- option description
- colorValue
- Type: OptionColor
- The current color value.
- prompt
- Type: string
- The command prompt will show this during picking.
Returns:
Type: int
option index value (>0) or 0 if option cannot be added.
Available since:
5.0
Description:
Add a command line option to get colors and automatically save the value.
Syntax:
Parameters:
- englishName
- Type: string
- option description
- colorValue
- Type: OptionColor
- The current color value.
Returns:
Type: int
option index value (>0) or 0 if option cannot be added.
Available since:
5.0