True Milton! I believe I got it translated correctly but perhaps Milton could proof read. Milton an assist here? I might add that these deploy automatically when the angle of attach become critical and before the wing stalls
<part>
<name>DH82_AutoSlatsLock</name>
<animLength>25</AnimLength>
<animation>
<parameter>
<code>(L:H82_SlatsLocked, bool) 20 * 5 +</code>
<lag>25</lag>
</parameter>
</animation>
<mouserect>
<cursor>Hand</cursor>
<mouse_flags>LeftSingle</mouse_flags>
<tooltip_text>Auto Slats %((L:H82_SlatsLocked,BOOL))%{if}LOCKED%{else}UNLOC KED%{end}</tooltip_text>
<callback_code>(L:H82_SlatsLocked, bool) ! (>L:H82_SlatsLocked, bool)</callback_code>
</mouserect>
</part>
Here is a discussion on the FS9 syntax. You may have to join the forum to read but its a simple task and well worth it.
https://www.fsdeveloper.com/forum/th...6/#post-739289
Bookmarks