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.

Triggering Multiple Events in One Script

Featured Replies

I'm trying to set up my own profile for my X-Touch to use with a couple planes but currently focusing on the PMDG 737. What I'd like to do is assign one button to turn on the lights for engine start (beacon only), one for taxi lights (beacon, taxi, runway turn maybe) and one for takeoff (basically everything). I'd like each button to switch the lights to specific states, for example, after landing I want to go from takeoff light config to taxi light config. I can't seem to find a tutorial or even any suggestion for how to do this. I'm assuming the correct way would be to create a script that sets each desired state and then assign this new script to a button push. I've been going through all the pre-made scripts that I can find and I see lots of "toggle" scripts for lights and a few "set" scripts. The set scripts don't seem to be doing anything and while the toggle scripts work they won't work for my purpose since going from say taxi to take off would then again toggle the taxi lights to the wrong position.

I'm also not great with coding/scripting in general but I can follow instructiosn well and usually can figure out how to modify stuff. Any help would be greatly appreciated!

Hey,

It's Helibrewer from Discord. So you need the ON and OFF events for each of the switches?

WW5130.png

| i7-14700KF - 4080 SUPER | 32 GB RAM | Win 11 Pro | HC Bravo | AAO | StreamDeck | 

Archived

This topic is now archived and is closed to further replies.

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.