LavishGUI gauge

Discussion of Inner Space

Moderators: Lavish Software Team, Moderators

Post Reply
haunaben
GamingTools Subscriber
Posts: 29
Joined: Fri Jan 09, 2009 6:03 pm

LavishGUI gauge

Post by haunaben » Sat Aug 17, 2013 11:45 am

Last part of my UI timers ... need a UI window that I can update.

In this example http://pastebin.com/JMitZwd6 the slider works fine, the gauge outline shows, but it won't fill. It does appear to be getting the default textures ok.

Am I missing something?

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Sat Aug 17, 2013 4:12 pm

Value is not an XML-configurable property of a gauge -- https://www.lavishsoft.com/wiki/index.p ... nt_Type%29

You must use lguigauge:SetValue[#]

Code: Select all

                        <gauge Name='testGauage'>
                           <X>0</X>
                           <Y>0</Y>
                           <Border>1</Border>
                           <Width>100%</Width>
                           <Height>50</Height>
                           <Range>1</Range>
[b][color=white]<OnLoad>This&#58;SetValue[0.5]</OnLoad>[/color][/b]
                        </gauge>

haunaben
GamingTools Subscriber
Posts: 29
Joined: Fri Jan 09, 2009 6:03 pm

Post by haunaben » Sat Aug 17, 2013 5:59 pm

duh, RTFM right )

thanks Lax

Post Reply