Jump to content
The simFlight Network Forums

Jerry Carroll

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Jerry Carroll

  1. Thanks for the response Pete and I apologize for wasting your time.  That was WAY over my head.  You put that in college level terms and I'm a 1st grader.

     

    I read the LUA Library documentation but could not comprehend event.offsets and such.

     

    I do appreciate your reply and thanks for the work you do with FSUIPC.  

     

    Jerry 

  2. Trying to set up a lua to play a wav when a button is pressed.

    Created a file in FSX Modules folder named BingoFuel.lua.  Contents of file:

    Sound.play("BingoFuel",2)

     

    The sound I'm attempting to play is BingoFuel.wav located in FSX Sound folder.

     

    I'm using a registered copy of FSUIPC 4.937.  In the button section of FSUIPC I assigned a button to "lua Playbingofuel".  I'm not getting the wav to play.

     

    In the Linda console I see an error message of:

     

    [E] *** LUA Error: C:\FSX\Modules\playbingofuel.lua:1: attempt to index global 'Sound' (a nil value)

     

    I know this is pretty basic stuff for most of you but I'm stuck.

     

    Thanks in advance,

    Jerry

  3. I'm running a registered version of FSUIPC 4.927a with FSX.  A previously assigned button on the joystick is no longer recognized by FSUIPC or FSX.  The Saitek programming software recognizes the button so it appears the button is operational.  I don't use any profiles from this program.

    Any idea what may be blocking it?

     

    Thanks,

    Jerry

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