Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Can i create a pop-up into fsx to interact with the user like a atc menù?

 

Not the same. The FSUIPC facilities for Lua plug-ins provide display facilities using a similarly transparent (and undockable) window (ipc.display and others), where you can display a list of choices and detect keyboard responses, and there's also the ipc.ask facility which is similar and collects its own typed and visible response which could be more than just a detected keypress.

 

The display facilities can be used from an application program via offsets. That's the way the Radar Contact menu system works, for instance. It registers hotkeys with FSUIPC for the responses.

 

Pete

Posted

The offset for use a menu like radar contact by external program...

Thank you!

 

Yes, those are they. You get multiline by including new line codes embedded in the text, i.e. "\n", or returns, "\r". Hotkeys for answers are set in the table at offset 3210. Instructions are in the main "FSUIPC for Programmers" document.

 

Pete

Posted

Yes, those are they. You get multiline by including new line codes embedded in the text, i.e. "\n", or returns, "\r". Hotkeys for answers are set in the table at offset 3210. Instructions are in the main "FSUIPC for Programmers" document.

Pete

Sorry but i don't understand,by external program ,i can create a windows with my menu like a uipc.windows method in lua?

Thank you so much.

Posted

Sorry but i don't understand,by external program ,i can create a windows with my menu like a uipc.windows method in lua?

 

Er ... to which facility in Lua are you referring? The ipc.display one? I've already given you the equivalent offsets for an external program. What is confusing you?

 

Pete

Posted

I'm confusing becose i can't find an offset for create a windows like a ipc.display and not a green line with a text...

 

It isn't a single green line if you include new lines in the text, just like Radar Contact.

 

There is no facility exactly like the Lua facilities which you can use from an external application program.

 

You can invoke a Lua program instead from an application program. Otherwise you would need to use SimConnect directly.

 

Pete

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.