FANDOM


dialog.AddSlider Edit

Function
table dialog.AddSlider(string label, number value, number minimum, number maximum, number precision)
Description
Add slider.
V1 Function Name
New to V2
More Information
Details

Remarks Edit

Adds a slider control to the dialog. The value is the initial value, which must be between the minimum and the maximum. The minimum must be less than the maximum, and they determine the range of numbers the slider can vary over.

The precision indicates what the interval will vary over. A precision of 0 will cause the slider to vary by integers, whereas a precision of 1 will cause the slider to vary by increments of .1. A precision of 2 will cause the slider to vary by increments of .01. And so forth.

Example Edit

See the example on the dialog.Show() function.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.