Settings
Global Functions
getName
Returns the name of the setting as a String
addParent
Allows you to add a condition for the setting to show in the clickgui
Number Setting
script.numberSetting(...
will return a number setting that allows for the following functions:
The getValue()
function returns a Double. The Double object allows for all sorts of different data types pertaining to numbers.
You will be able to do the following functions:
getValue().floatValue()
getValue().intValue()
getValue().doubleValue()
getValue().longValue()
Boolean Setting
script.booleanSetting(...
will return a boolean setting that allows for the following functions:
Mode Setting
Modes Input
script.modeSetting(...
will return a mode setting that allows for the following functions:
Color Setting
How to create a Color object
script.colorSetting(...
will return a color setting that allows for the following functions:
String Setting
script.stringSetting(...
will return a number setting that allows for the following functions:
Multi-Boolean Setting
script.multiBoolSetting(...
will return a number setting that allows for the following functions:
Last updated