mudd1293 Posted October 30, 2011 Report Share Posted October 30, 2011 Can someone please help me figure out how to get the LEDS working on my go flight t8 using FSUIPC, LUA and PMDG js41? I’m a total noob and have been trying to understand how lua works, but not very successful. I obtained a couple of scripts that others made that allows me to map functions from the PMDG JS41 to my (2) T8 moduless however although the functions work, the leds don’t light up. Below is a script I’m using to turn on the flood light as an example. It is mapped to the third toggle switch from the left on my T8 module. Again, the function works, but no light. I’ve tried adding the command gfd.SetLights(GFT8,0,3) under the third line but it did nothing. Also tried (GFT8,1 (for second t8 module),3) -- Panel flood light on elseif ipcPARAM == 100 then ipc.writeLvar("L:PanelFloodSW", 1) ipc.control(66587, 8029) -- Panel flood light off elseif ipcPARAM == 101 then ipc.writeLvar("L:PanelFloodSW", 0) ipc.control(66587, 8029) Link to comment Share on other sites More sharing options...
mudd1293 Posted October 30, 2011 Author Report Share Posted October 30, 2011 Nevermind, I figured it out. I am a genius Can someone please help me figure out how to get the LEDS working on my go flight t8 using FSUIPC, LUA and PMDG js41? I’m a total noob and have been trying to understand how lua works, but not very successful. I obtained a couple of scripts that others made that allows me to map functions from the PMDG JS41 to my (2) T8 moduless however although the functions work, the leds don’t light up. Below is a script I’m using to turn on the flood light as an example. It is mapped to the third toggle switch from the left on my T8 module. Again, the function works, but no light. I’ve tried adding the command gfd.SetLights(GFT8,0,3) under the third line but it did nothing. Also tried (GFT8,1 (for second t8 module),3) -- Panel flood light on elseif ipcPARAM == 100 then ipc.writeLvar("L:PanelFloodSW", 1) ipc.control(66587, 8029) -- Panel flood light off elseif ipcPARAM == 101 then ipc.writeLvar("L:PanelFloodSW", 0) ipc.control(66587, 8029) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now