Results 1 to 2 of 2

Thread: lua script

  1. #1
    150+ Forum Groupie
    Join Date
    Oct 2006
    Location
    Perth, Australia
    Posts
    263
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    lua script

    hi all,
    I'm trying to setup a switch in the flightdeck to run a pax briefing in the back ground when activated.

    But having trouble getting it going.


    The switch Is setup in fscuip.

    The script i am using is;

    Sound.play("LH", 1, 75, -1)

    below is the report from fscuip

    381813 LUA.0: beginning "C:\FSX\Modules\Briefing.lua"
    381813 LUA.0: C:\FSX\Modules\Briefing.lua:1
    381813 LUA.0: Global: ipcPARAM = 0
    381813 *** LUA Error: C:\FSX\Modules\Briefing.lua:1: attempt to index global 'Sound' (a nil value)
    381813 LUA.0: ended "C:\FSX\Modules\Briefing.lua"

    any ideas?

    Thanks

    Michael
    Last edited by bindook; 08-14-2015 at 11:42 PM. Reason: more info
    A320 Home Simulator LHA435
    - P3dv4.5 - i7 - GTX970 - Fly Elise - ASN - Black Marble

  2. #2
    150+ Forum Groupie
    Join Date
    Oct 2006
    Location
    Perth, Australia
    Posts
    263
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: lua script

    solved the issue
    A320 Home Simulator LHA435
    - P3dv4.5 - i7 - GTX970 - Fly Elise - ASN - Black Marble