- Messages
- 735
- Country

I do have a working gauge that triggers an animation (on AI ship object), so at least I have gotten this far.
<Gauge Name="CarrierElevator" Version="1.0">
<Element>
<Select>
<Value>
(A:EXIT OPEN, percent) 5 >
if{ 100 (>L:CVelevator) }
els{ 0 (>L:CVelevator) }
</Value>
</Select>
</Element>
</Gauge>
What I am trying to do is this -- I want to rewrite this with some other toggle command, like PANEL_LIGHTS_TOGGLE for instance. Here is one of my attempts:
<Gauge Name="CarrierElevator" Version="1.0">
<Element>
<Select>
<Value>
(A: PANEL_LIGHTS_TOGGLE, bool) 1 ==
if { 1 (>L:CVelevator,bool) }
</Value>
</Select>
</Element>
</Gauge>
Could some kind soul correct my bad XML code here? Believe me, I have spent all weekend googling examples, so it isn't for lack of effort.
Cheers,
Mark
PS: I realize there is no space between A: and PANEL but I wanted to avoid having this
show up on this BB forum, so I added that space to prevent the pink smily.
<Gauge Name="CarrierElevator" Version="1.0">
<Element>
<Select>
<Value>
(A:EXIT OPEN, percent) 5 >
if{ 100 (>L:CVelevator) }
els{ 0 (>L:CVelevator) }
</Value>
</Select>
</Element>
</Gauge>
What I am trying to do is this -- I want to rewrite this with some other toggle command, like PANEL_LIGHTS_TOGGLE for instance. Here is one of my attempts:
<Gauge Name="CarrierElevator" Version="1.0">
<Element>
<Select>
<Value>
(A: PANEL_LIGHTS_TOGGLE, bool) 1 ==
if { 1 (>L:CVelevator,bool) }
</Value>
</Select>
</Element>
</Gauge>
Could some kind soul correct my bad XML code here? Believe me, I have spent all weekend googling examples, so it isn't for lack of effort.
Cheers,
Mark
PS: I realize there is no space between A: and PANEL but I wanted to avoid having this




