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.

Lvars and add ons

Featured Replies

Hi all,

I'm not sure this is the right place for this question but it does involve the tracer and editor so I'm here for now.

Is it true that the Lvars listed in the lefthand column of the 'hunting' console, are the only outputs from FSX that can have a value in LINDA?

I ask this because in calling an event.Lvar, in this case "fuel total quantity" the editor returns a 'nil value' error. Sure enough, in the hunter Lvars list, there is no sign of any fuel related Lvars.

This is curious because I can examine the fuel total quantity with an event.offset (0x1264, "UD") etc but I would prefer to use an event.Lvar because of the timer.

I am using an add on aircraft here but am I really chasing a ghost or is there another way of interogating FSX that is so far, a mystery to me?

Is it something I need FSUIPC to do for me?

Thanks in advance,

G

Yes the left hand pane displays those Lvars exposed by the add-on developer for use. Click on the Reload button to see the latest Lvar definitions. The Lvars vary between aircraft add-ons. Using any other in LUA code will produce a nil result. Remember all LUA Lvars and variables are case sensitive.

The FSUIPC Offsets tend to apply to most add-ons but some developers do not comply with or use these offsets.

 

Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

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.