dak Beginner
Joined: 08 Aug 2009 Posts: 14
|
Posted: Wed Aug 12, 2009 5:09 am
[3.10a][Help] Lua Gauge Value |
I'm trying to use Lua to control the value of a gauge. I haven't been able to find documentation on the correct variable to set, so I've tried a number including "value", "gaugevalue", "gaugeval", "expr", and "gauge", although none so far have worked.
The relevant code is below:
Code: |
zs.getbutton("button name").value = 6 |
I'm able to update other properties of the button such as textcol and color, so there's no problem there.
What variable should I be setting for the value of a gauge? IE, if max = 10, min = 2, what variable sets the current state of the gauge?
Thanks. |
|