Jump to content
The simFlight Network Forums

Question about how to use LVARS in P3D 4.x and FSUIPC6


Recommended Posts

If you want to add lvars to offsets, you can do this using lua. Otherwise you can access them via macros. See the Advanced User guide on how to use macros to control lvars.

6 hours ago, erjdriver said:

I'd like to set or toggle a few LVARS.

You can do this easily using macros - no need to add them to offsets. See page 39 of the Advanced User manual.

John

Link to comment
Share on other sites

Thanks.

I created a text file test.mcro

[Macros]
1=L:EVT_OH_ICE_WING_ANTIICE=Set,1

 

Then in the fsuipc gui - I assigned the key 'x' to the above.

In logging, I can see the x press is being processed - but the wing anti-ice switch is not being set.

 

I've got the PMDG 737 loaded and I believe that's a correct LVAR.

But if you can suggest a common LVAR - I can try that also.

I also assigned a different key to “List local panel variables” - and nothing prints for the PMDG 737.

I tried the built-in mooney and it does print a few.

 

Always appreciate your speedy and on point responses.

 

 

Link to comment
Share on other sites

19 hours ago, erjdriver said:

I've got the PMDG 737 loaded and I believe that's a correct LVAR.

For the PMDG aircraft, you should consider using custom controls before looking at lvars. For L:EVT_OH_ICE_WING_ANTIICE, the following custom control is available (although this is the MSFS version as I don't have the PMDG 737 for P3D - should be the same but check your header file):

#define EVT_OH_ICE_WING_ANTIICE                            (THIRD_PARTY_EVENT_ID_MIN + 156)        

To use PMDG custom controls, see the following FAQ entry: 

John

 

Link to comment
Share on other sites

Thanks - I actually needed it for QualityWings 787 and was testing the FSUIPC feature.

The list feature was helpful and I was able to get it to work.

Unfortunately for me I'm trying to fly from the right side and the plane seems to be designed to be flown from the left seat - many right seat LVARS are not there.

Thanks.

 

Link to comment
Share on other sites

8 minutes ago, erjdriver said:

Unfortunately for me I'm trying to fly from the right side and the plane seems to be designed to be flown from the left seat - many right seat LVARS are not there.

You can only use the lvars provided, and listing lvars will show all available. Maybe ask QW about providing right-seat lvars.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.