TODO: dynamic-group mission payload is version-dependent; use mission scripting coalition.addGroup where possible.
TODO: dynamic-spawn conflict result schema is native and version-dependent.
Returns conquest-mode coalition scores. TODO: score table keys vary with game mode.
TODO: client-aircraft creation payload is native and version-dependent.
Dispatches an analog input action.
Native input action identifier.
Normalized analog value.
Dispatches a digital input action.
Native input action identifier.
Press/release state.
TODO: dynamic-group entry payload is a private multiplayer UI contract.
Enumerates mission-persistence records through a native callback.
Called for every record, as a plain Lua function (no self).
Returns UI metadata for achievements.
Returns the aircraft stock count for an airport warehouse.
Returns airdrome coalition assignments.
Returns current airdrome state records.
Returns the active tanker object identifier, or nothing.
Returns ATC radio metadata. Its nested fields are theatre-defined.
Returns coalitions having available player slots.
Records keyed by coalition ID.
Returns available player slots for a coalition.
DCS may return nothing when the requested coalition is unavailable in the
current mission or UI state. Multi-seat unitId values may be strings of
the form unitID_seatID.
Coalition ID returned by getAvailableCoalitions.
Available slots, or undefined when the coalition is unavailable.
Returns conquest-mode state for an airbase.
Returns the configured default field of view in degrees.
Returns dynamic-spawn settings. Fields are version-dependent.
Returns mission data for FARPs and carriers.
Returns elapsed game duration in seconds.
Returns the active game-pattern identifier.
Returns generated mission parameters.
Returns the human-readable input profile name for a unit.
Returns the input profile name for a database unit type.
Returns installed input-profile records.
Returns localized strings requested by a private UI key set. TODO: request/result schema varies by UI caller.
Returns log entries from an index and the next index to request.
Starting log index.
Log entries and next index.
Returns the selected main-pilot identifier.
Returns the path to the installed manual for a module.
Returns the configured frame-rate cap.
Reports whether a mission has finished loading. Warning: DCS 2.9.27-2.9.29 can ACCESS_VIOLATION when this is called with a mission loaded; the verification corpus checks only export presence.
Returns one mission-persistence record. TODO: key/value schemas are mission-defined.
Returns the mission-resource dialog model.
Returns the active mission theatre identifier.
Returns a model name for a shape-table index.
Returns moon azimuth, elevation, and phase for a date/time. TODO: date parameter is an engine-native table.
Returns livery names available to an object type.
Returns pilot-achievement records.
Returns summary statistics for all pilots.
Returns statistics for one pilot.
OptionalpilotId: string | numberReturns the translated player briefing.
Returns the selected player's coalition.
Returns the selected player unit mission identifier.
Returns the selected player unit's database type.
Returns the server start time as an absolute timestamp.
Returns seconds remaining before configured server start.
Returns the simulator-mode identifier.
Returns sun azimuth and elevation. TODO: date/location parameter schema is native.
Returns sunrise and sunset seconds for a date/location. TODO: parameter schema is native.
Returns integrity-check taint categories.
Returns integrity-check tainted-file records.
Returns the numeric ID of the active theatre.
Returns position data for a runtime object ID.
Returns a unit property selected by one of the DCS.UNIT_* constants.
Unit mission ID.
Property selector.
Property value when available.
Returns current user options.
Reports whether the selected unit has multiple crew slots.
Reports whether a human seat is available.
OptionalseatId: numberReports whether the UI is configured for metric units.
Reports whether a role is available for a unit. TODO: role identifier values are module-defined.
Reports whether a mission slot can be flown.
Reports whether this is the Steam distribution.
Reports whether a Supercarrier role is available. TODO: role identifier values are module-defined.
Reports whether DCS is currently replaying a track.
Restarts the Last Man Standing game mode.
Nothing.
Configures whether Last Man Standing waits for its minimum player count.
Locks all keyboard input from the simulation UI. Pair with unlockKeyboardInput.
Locks all mouse input from the simulation UI. Pair with unlockMouseInput.
Locks one keyboard input. TODO: native key descriptor schema is UI-internal.
Locks one mouse input. TODO: native button descriptor schema is UI-internal.
TODO: Modern Air Combat pilot-statistics payload is native and not described in installed Lua sources.
Notifies DCS that a dialog's visibility changed. TODO: dialog identifiers are private UI values.
Notifies DCS that status-bar visibility changed.
Notifies UI scripts of user login. TODO: login payload schema is private.
Opens DCS's configured home page in the system browser.
Preloads a cockpit by database unit type.
TODO: radio-command-dialog menu selection payload is a private UI contract.
Recomputes pilot statistics.
Reloads user option files.
Restarts the current mission.
Saves the active mission to a .miz path.
Self-kills the active player pilot.
TODO: radio-command-dialog callback payload is UI-private.
Sets the board number in the mission-resource dialog model.
Moves the camera to an airdrome identifier.
Sets the current camera field of view in degrees.
Controls whether the debriefing UI is shown.
Sets the default camera field of view in degrees.
Sets the livery name in the mission-resource dialog model.
Selects the main pilot identifier.
Sets the frame-rate cap.
Replaces mission-resource dialog data. TODO: UI model schema is version-dependent.
Sets the application-restart-required flag.
Sets the selected player's coalition.
Sets the selected player unit.
Changes the screenshot file extension.
Installs GameGUI callback handlers.
DCS calls each handler as a plain Lua function with the hook's arguments, so the handlers take
no self (this: void). A handler that must return several values (for example
onPlayerTryConnect returning false, reason) needs an explicit LuaMultiReturn return type.
Callback table; omitted callbacks remain unhandled.
Nothing.
Pauses or resumes external view motion.
Enables the rearming view. TODO: native view payload is UI-private.
Sets rearming-view animation time in seconds.
Sets rearming-view position mode.
Spawns the selected player. TODO: dynamic-spawn payload is version-dependent.
Starts a mission file.
Takes interactive control during track replay.
Toggles the data-transfer-cartridge UI.
TODO: overlay-widget positioning uses a private UI payload not defined in installed scripts.
Releases keyboard-input locks.
Releases mouse-input locks.
Disables the rearming view.
Runs an updater operation. TODO: updater operation names/options are private and version-dependent.
Version
2.9.1.48335
No Self
See
Authoritative executable examples