These are the Support Forums for FSUIPC and related products.

These forums replace the old support forums which have been running for 20+ years. The old forums contain a wealth of information on all FSUIPC products, but are now no longer available.

Please note that you will need to Register and Login to post for support, and also to download attachments. You can view these forums without registering.

Support is also available via Discord. Please use the following invite link to join the FSUIPC Discord server:
https://discord.gg/zjwUTrxmmE

Load .LFT by script...
 
Notifications
Clear all

[Solved] Load .LFT by script for command?

Posts: 10
Registered
Topic starter
(@donmacq)
Joined: 3 weeks ago

I would like to bind a key to load a previously-saved .FLT file.  Looks like I need to use the SimConnect loadFlight() call...is there a way to access that through FSUIPC7?  


3 Replies
Posts: 269
Admin
(@fsuipc)
Joined: 9 months ago

You can currently only load a flight file in FSUIPC by using the File->Load Flight... menu option.

I could look into adding an FSUIPC-added control for this if needed. If I did this, you could then assign a key combination or button press to trigger this.

John


Reply
Posts: 269
Admin
(@fsuipc)
Joined: 9 months ago

You can also do this by writing to FSUIPC offsets. You need to write the location of the file to offset 0x3F04, and then trigger the loading by writing 0 to offset 0x3F00 - see the FSUIPC7 Offset status document for details. You can do that in a lua script, and then assign / bind your key to run the lua script.


Reply
Posts: 10
Registered
Topic starter
(@donmacq)
Joined: 3 weeks ago

I'll try the offsets.  Thanks!


Reply