Results 1 to 2 of 2

Thread: lua script

  1. #1
    150+ Forum Groupie
    Join Date
    Oct 2006
    Location
    Perth, Australia
    Posts
    246
    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-15-2015 at 12:42 AM. Reason: more info
    A320 Home Simulator LHA435
    - FSX - i7 - GTX970 - Fly Elise - ASN -

  2. #2
    150+ Forum Groupie
    Join Date
    Oct 2006
    Location
    Perth, Australia
    Posts
    246
    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
    - FSX - i7 - GTX970 - Fly Elise - ASN -