Support and General Use > Theming and Appearance Customization

Use multiple progress bars with conditional Viewports

(1/5) > >>

BdN3504:
Correect me if i'm wrong, but the commit which changed the wps syntax also introduced the feature to display three different progress bars. Is there an example theme which does include this featrue? because i'm trying to incorporate that feature into a wps and whenever i try to load the third progressbar, i get an "Invalid parameter list" error...
here's the code by the way:


--- Code: ---%Vl|a|0|161|206|23|1|-|-|
%pb|pb.bmp|18|-|206|23|
%Vl|b|0|213|206|23|1|-|-|
%pb|pb1.bmp|18|-|206|23|
%Vl|c|0|182|206|23|1|-|-|
%pb|pb2.bmp|18|-|206|23|
--- End code ---

if i delete the last Viewport, everything works fine. I fear that only two pbs are supported...

MarcGuay:
I think your third viewport is overlapping the first.

161 + 23 = 184

*Conditional*, right.  That shouldn't matter.  Thinking cap back on.

JdGordon:
it should work... how many other bitmaps are you loading?

MarcGuay:
Wait a second.  Are you trying to display viewports 'a' and 'c' at the same time?  If so, I think it's logical that you'll get an error due to overlapping viewports.

Chronon:
I didn't think that overlapping viewports would lead to an error, just that the one defined later in the code would be drawn over the contents of the earlier one.

Navigation

[0] Message Index

[#] Next page

Go to full version