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.

Increasing/Decreasing L: Variable enums

Featured Replies

Does anyone know if it would be posible to increase and decrease a L: variable enum, much like autopilot or radio settings? I.E. one click spot to increase, on spot to decrease. All I can do at the moment is make a click spot set the enum. Any insight would be greatly appreciated.Ian Grant

This snippet assumes there is a 30 x 15 total click area split into 2 spots (up/down).. The value X is the number you want to increase or decrease. If the INC/DEC =1 the you can use the ++ -- operaters instead.

20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

thanks Roman. I will give it a try. One question though, does the X represent what I want the number to increase by? for example, if I use 10, will it increase by 10s (0,10,20,30,etc...)? Thanks for the quick help!!!Ian Grant

Ian,Yes X is the number you want it to increase by. Basically, the code above just adds or subtracts X from the variable. If you're going to use it for the autopilot heading, you'll have to keep the variable within 0 and 360, no more no less.David

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.