modify dialog.AddSlider() in lua v2
|Opened on:||Tuesday, December 11, 2012 - 20:11|
|Last modified:||Thursday, December 13, 2018 - 09:50|
with the slider i would appreciate it instead of only having increments of 1,.1,.01 etc i would like to be able to specify an increment. so if my slider was dialog.AddSlider("xxxx",4,2,10,0) so its from 0-10 and starts at 4 but i want it to go by increments of 2.
So maybe just add a last field to modify the delta and make it dialog.AddSlider("xxxx",4,2,10,1,D) where D is the increment you wish to go by between steps. so if D was .5 it would go from 2 to 2.5,3,3.5,4 and so on. that way it adds a little more control over the recipe. becuase sometimes you just dont need the numbers in between.