Hey guys. Had an idea for a GUI that controls the display of the HUD much more in depth. Like sliders for Size and Opacity, color settings, etc. Pretty much all the settings I have in my Look 'N' Feel thread. However, a lot of settings use floats as their tag type, and guislider cannot handle float. (at least not very well) It will handle the value, but only the whole, and not the floating point... ie. it will slide from 1 - 5, but 1 - 5 exactly. I wont ever use 1.1 or 4.3, etc.
So, my question, could I somehow trick it into using a float? I had an idea to use 0 - 100 for the min and max, which can be interpreted as percentage, and then link it to the necessary var...but how would I make that var update dynamically as the slider value changed? I don't think I can...
Anyway, thoughts?
[EDIT]
There's always tweaking the source to let it use floats...or just an identical var specifically for handling floats. Like "guisliderf"