Results 1 to 2 of 2
Thread: lua script
-
08-14-2015, 11:29 PM #1
- Join Date
- Oct 2006
- Location
- Perth, Australia
- Posts
- 263
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
MichaelLast 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
-
08-15-2015, 02:09 AM #2
- Join Date
- Oct 2006
- Location
- Perth, Australia
- Posts
- 263
Re: lua script
solved the issue
A320 Home Simulator LHA435
- P3dv4.5 - i7 - GTX970 - Fly Elise - ASN - Black Marble
Explore Exciting Connections for a Night of Fun in Your City
Ready for an Unforgettable Night?...