Jump to content
The simFlight Network Forums

kurby

Members
  • Posts

    5
  • Joined

  • Last visited

kurby's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I have figured my mistake out, what i need is "event.button(joynum, button, “function-name”)" and not a offset driven event. The problem now is that i can't send the offset to the function :blink: .
  2. Hello Pete, I'm sorry to return to this subject, but i copied the function you created to a RP48.lua file in the modules folder and in fsuipc i assigned one of the pushbuttons to run the lua file on key pressed and unfortunatly nothing happens, i have checked the code and it is exactly as here. I can't figure out if something is wrong, if i only write "gfd.SetLight(GFRP48, 0, 7)" in the lua file when i press the push button the led lights up. Am i doing something wrong? Thanks Again.
  3. Thank you very much for your help Pete, the part of the led number and unit number i had figured out by the example, leds are number 0 - 7. I have both those docs you mention no worries. I will give this a go, once again thank you Pete. Best regards.
  4. Hello Pete, Sorry to be crashing this topic but i wonder if you could help me, i started with the second example script you posted here to see if i could control the leds on my own GF RP48 and it works, but now i wanted to use it not to control the autobrake, but to control the autopilot toggle button and light the corresponding led acording to the status of the autopilot, could you give me an example of how to do this? I think if i have a example for AP or FD or any of those buttons i can take it from there and do the rest of my erj autopilot buttons. Thanks.
×
×
  • 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.