Jump to content
The simFlight Network Forums

still struggeling with event.sim(ANY, "")

Recommended Posts



i have still no solution found, why the "event.sim(ANY,  and also the "event.sim(AIRCRAFTCHANGE is not fired ?

When i have a little lua file in the Modules folder whits only this little script:

function test()
event.sim(ANY, "test")

why is the text not displayed when i load another aircraft ?( which means the function is not called at Aircraft change )



Share this post

Link to post
Share on other sites

The ipc.display function uses the SimConnect Message Window, which, if you are using P3D4 (you don't say) can be suppressed. When testing Lua plug-ins it is best to use "ipc.log" so that the message is directed into the FSUIPC log file (or into a separate Lua log file if so opted).

Anyway, without more information, like how your plug-in is being loaded (is it actually running?), which FSUIPC version,  and which sim you are using, it isn't really possible to help further.



Share this post

Link to post
Share on other sites

Hi Matthias,

to start your lua automatically, it must be added to the [Auto] section of your ini file. See Automatic running of Macros and Lua plugins, on p40 of the Advanced Users manual.



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 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.