October 6, 20196 yr 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
October 6, 20196 yr 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.