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.

Two seperate VC switches, but they both animate when only one is clicked?

Featured Replies

Ok, I'm stuck - I've tried to think of a decent way round this on the modelling side but to no avail......I have two switches, 'set transfer fuel forward', and set 'transfer fuel aft'. When each switch is turned off - 'set transfer fuel off'. This works BUT....If you click the set trans fuel forward switch the aft switch also animates, even though it has a unique part name and vice versa. My question is whether there is any simple way to have only one switch animate at a time.....?As soon as one switch is not off it animates the other switch so that its not off too. The set transfer forward code is (set transfer aft is the same with name adjustments etc:set_transfer_fore (A:FUEL SELECTED TRANSFER MODE,bool) 50 * 400HandSet Fuel Transfer Forward (A:FUEL SELECTED TRANSFER MODE,bool) if{ 0 (>K:SET_FUEL_TRANSFER_OFF) } els{ 0 (>K:SET_FUEL_TRANSFER_FORWARD) } Any help is most appreciated. Can't get my head round this......David.

The reason they both animate is that both of their "states" (on/off) are controlled by the same A:var (parameter).Basically, you seem to be trying to separate what was intended to be one multi-position selector into separate di-pole switches.What I would recommend doing (and maybe someone else that is a hot XML programmer will have a better idea) would be to create and use your own L:var for one (or if you prefer both). Then, you can have the on/off position controlled by that L:var and query and set the A:var as necessary to get FS to do what you want. Then each will operate independently, and not be affected by changes to the A:var.Hope this mades sense.

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.