Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

XML L bool variable in makemdl.parts.xml ?

Featured Replies

Hi,I have made an xml gauge with an L bool variable. Good part: Gauge works fine. Bad part: I want to add a part in the makemdl.parts.xml. Up to now nothing worked.How do I implement the L bool variable inbetween the animation tacks?ReagardsDirk

  • 1 month later...

Hi,The code in the makemdl.parts.xml file is very simple but depends on the animation key code in the .x file.In your case assuming the .x file has something of the form:Animation your_part {{ your_part }AnimationKey {0;2;0;4;-1.000000,0.000000,0.000000,0.000000;;, //position when OFF100;4;-0.981627,0.000000,-0.190809,0.000000;;; //position when ON}}then you need your XML file entry to provide a value of either 0 or 100 to match the keyframe values, typically this might be:your_part (L:your_xml_variable,bool) 100 *Regards,Trevor.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.