- Messages
- 13
Hey everyone. I need some help with xml-coding.
I want to show/hide a container depending on the aircraft's weight.
This code should show the container as soon as the weight is btwn 230k and 300k lbs. For some reason it doesn't work.
I guess it's because of the <units>-section. Is there any list, where to know which units exist? I just invented "lbs" but I don't know if FS can handle that.
Thanks in advance!
I want to show/hide a container depending on the aircraft's weight.
<part>
<name>container</name>
<visible_in_range>
<paramer>
<sim>
<variable>TOTAL WEIGHT</variable>
<units>lbs</units>
</sim>
</paramer>
<minvalue>230000</minvalue>
<maxvalue>300000</maxvalue>
</visible_in_range>
</part>
This code should show the container as soon as the weight is btwn 230k and 300k lbs. For some reason it doesn't work.
I guess it's because of the <units>-section. Is there any list, where to know which units exist? I just invented "lbs" but I don't know if FS can handle that.
Thanks in advance!




