lua
From version 2.0 of the GoFlight Interface Tool for X-Plane, Lua will be built into the software.

Lua is a powerful, efficient, lightweight, scripting language that can be added to existing software and used by end users.

For those familiar with Detective, consider Lua scripts as the equivalent of Bespoke Events but with much more flexibility which makes them more powerful, but also less user friendly as they are created by writing programming code.

Lua scripts are simply text files with a .lua extension. The Lua scripts contain Lua programming code that can be run within GIT to control aircraft functions.

Lua scripts are assigned to GoFlight buttons, switches, selectors and rotaries in the normal way. Lua scripts are listed in the drop down Event lists and begin with "LUA_"

Lua scripts can be run with all aircraft.

To assist in creating Lua scripts, the Lua Console is provided within GIT to manage and test .Lua scripts. To access the Lua console click the Lua button on the Status tab of GIT.

"Lua" (pronounced LOO-ah) means "Moon" in Portuguese. You can visit the main Lua website here.

GIT uses version 5.3.4 of Lua.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.