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.

Detect whether FS2Crew is active?

Featured Replies

Hello Bryan,

 

I was wondering whether there is a L:Var or offset that I can check to detect whether FS2Crew is active or not?

 

The reason why I ask is that I have a home built overhead panel (of sorts!) which I've programmed using a Lua script and I'm finding that conflicts sometimes arise when a VC switch is operated by the FS2Crew FO and the switch state disagrees with the state of my hardware switch. It will be useful if I could program my Lua script to check whether FS2Crew is active and if so to ignore conflicts or switches that disagree.

 

I could of course just terminate my script when using FS2Crew but there are some switches that I would still like to use so a checking routine will be preferable.

 

regards

 

Paul

Paul Dumke

  • Author

Thanks Bryan, that will be very much appreciated.

 

This has got me thinking... (which can be dangerous!)

 

What would be even better is if FS2Crew events and buttons had L:Vars assigned to them, then I could control FS2Crew from external hardware without opening the interface, the Linda developers will probably also be interested in this?

 

Could even assign LED's to each phase and the timer could be displayed on a LCD display.

 

Paul

Paul Dumke

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.