Lua Macros script not working with Fly with Lua.
-
- Posts: 13
- Joined: 03 May 2019, 01:17
Re: Lua Macros script not working with Fly with Lua.
I got to where when I press play and the only command in there is lmc_xpl_command('sim/lights/landing_lights_on') that gets executed. It does turn on the lights but when I add the, if string.byte part, it doesn't work.
Re: Lua Macros script not working with Fly with Lua.
Then it's just pure debugging of your script. Print the number in the handler and find out, why string.byte gives other number so the if condition doesn't match.
Just lua scripting...
Just lua scripting...
Petr Medek
LUAmacros author
LUAmacros author