Hiya, I can't seem to get a StatusBar to be created and displayed. Here is the current version of my status bar:
Code:
<StatusBar name="$parent_status" minValue="0" maxValue="100" defaultValue="30" orientation="HORIZONTAL">
<Scripts>
<OnLoad>print("start")</OnLoad>
</Scripts>
<Size x="150" y="30"/>
<Anchors>
<Anchor point="CENTER" relativePoint="CENTER" relativeTo=""/>
</Anchors>
<BarColor r="1.0" g="0" b="0"/>
</StatusBar>
Previously I have tried inheriting various StatusBar templates, explicitly setting a bar texture, and a few other different variations of this type of template, but the onload script never runs, and I can see the bar is not added to my frame when using the framestack.
Anyone know what I'm missing?