Jump to content

Sign in to follow this  

Making own LUA module - action not executing

Recommended Posts



I hope somebody who knows a bit about making modules can help!


I have the IRIS Grob 115E Evaluation aircraft in P3D and I wanted to make a module for it. I went into the tracer and found the Lvar, SW_STROBE_LIGHTS. I clicked the toggle button in the tracer and it switched on. I now wanted to make that into a module. I made an aircraft inside the aircraft folder called 'test' I also did this in the linda-cfg. In my ident.lua I put simfolder="test" and in my actions.lua I put:


-- ## Lower Panel ##########
function strobeon ()
    ipc.writeLvar("SW_STROBE_LIGHTS", 1)
function strobeoff ()
    ipc.writeLvar("SW_STROBE_LIGHTS", 0)
I then assigned it to a button in LINDA and saved. I then went to test it but it did not work. I reloaded, restarted and nothing happens...
 I also do not know how to make it so when you click FSX Sync it knows the aircraft you are in, instead of just saying FSX Default.
Thank you!

Oops! and 2 minutes after posting this I get it working! After getting the FSX Sync thing working then reloading it worked! 




Share this post

Link to post
Share on other sites

Hi Joshua


The problem you are having is that the entry in the ident.lua file must match the name of the aircraft simobject file. In your case this should be something like 'Grob' or 'Grob115E'. Without this LINDA can not Sync to the aircraft and call the correct aircraft module code.


Tip: when testing a new function, you can call the function by right-clicking the function name in the LINDA Editor.

Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

Share this post

Link to post
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
Sign in to follow this  

  • Create New...