plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

lyonhaart001 avatar image
lyonhaart001 asked lyonhaart001 answered

How can I set an L:var condition in a FLT file in the aircrafts folder, such as Apron.flt

Hello,

I heard it is possible to set conditions of custom L:vars in FLT files, such as the Apron.flt file.

How would this be written? Do you have a sample?

Many thanks,

Bill of the gray eyebrow people
Lionheart Creations

God save the Ukraine

aircraftflightmodel
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

ModelMuncher avatar image
ModelMuncher answered

@Lyonhaart001.

[LocalVars.0]

Vis1_Switch=0

Vis2_Switch=1

Main_Door_Window=1

etc

Hope this helps relax the eyebrows ;)

Graham

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

lyonhaart001 avatar image
lyonhaart001 answered

Awesome... Thanks Graham! And my eyebrows thank you also. :)

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.