- Messages
- 246
- Country

Hi there,
In FS9, I've had a code that had a visibility condition that show a certain set of parts when the tailhook was at key 99. How do Iincorportae that(and custom codes in general) in FSXA?
Here is my code:
In FS9, I've had a code that had a visibility condition that show a certain set of parts when the tailhook was at key 99. How do Iincorportae that(and custom codes in general) in FSXA?
Here is my code:
Code:
<!-- Gun animation -->
<part>
<name>Optic_animater</name>
<visible_in_range>
<parameter>
<code>
(A:TAILHOOK POSITION,percent) 99 >
</code>
</parameter>
<minvalue>1</minvalue>
</visible_in_range>
</part>
<part>
<name>Gun_animater</name>
<Copy>Optic_animater</Copy>
</part>
<part>
<name>Static_optics</name>
<visible_in_range>
<parameter>
<code>
(A:TAILHOOK POSITION,percent) 99 <
</code>
</parameter>
<minvalue>1</minvalue>
</visible_in_range>
</part>
<part>
<name>Static_Gun</name>
<Copy>Static_optics</Copy>
</part>


