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.

Multiple Click Events

Featured Replies

I'm trying to make a master shutdown switch for the FSX helicopter I'm building. When you first start a flight - and everything is running by default - you can just click the switch to shut everything down properly.I started out by taking an existing 2-D battery toggle switch. Then I made the mods shown below. At this point, all I've done is replace the battery toggle click event with nav, panel, and landing light toggles. (I haven't removed all references to the battery yet; this is still just kind of a feasibility study.) The idea is to eventually have a switch that toggles everything that is, by default, running when you start a flight. When I click the switch now, it only triggers the landing light toggle, not the nav or panel lights. So, apparently something's not kosher with my syntax. Any suggestions?-Mick<?xml version="1.0" encoding="utf-8"?>(A:Electrical master battery,bool)

Hi,I was just going to bed...:-) works with only one event per , the last one ; which in your case is LANDING_LIGHTS_TOGGLE, that's the reason for the previous events not being recognized.To solution this, use directly (>K:TOGGLE_NAV_LIGHTS) (>K:PANEL_LIGHTS_TOGGLE) (>K:LANDING_LIGHTS_TOGGLE) Tom

Glad you didn't go to bed, Tom...that did the trick!Much thanks.

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.