Lua

DCS World uses the embedded programming language, Lua for its scripting engine.

Definitions

This section documents all currently known definitions and declarations related to plugins.

API Reference

This section covers all essential globals and functions from the DCS Lua API for coding aircraft systems.

There are additional examples included of common systems found in an aircraft:

Logging

Developer Notice

There may be additional functions, but aren’t confirmed.

Every Lua script within DCS has a global log variable.

alert(string)

Writes a tagged “ALERT” string to dcs.log.